Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demote log #2612

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hotshot-query-service/src/data_source/storage/ledger_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use atomic_store::{
use serde::{de::DeserializeOwned, Serialize};
use std::collections::VecDeque;
use std::fmt::Debug;
use tracing::warn;
use tracing::{debug, warn};

/// A caching append log for ledger objects.
#[derive(Debug)]
Expand Down Expand Up @@ -138,7 +138,7 @@ impl<T: Serialize + DeserializeOwned + Clone> LedgerLog<T> {
let len = self.iter().len();
let target_len = std::cmp::max(index, len);
for i in len..target_len {
warn!("storing placeholders for position {i}/{target_len}");
debug!("storing placeholders for position {i}/{target_len}");
if let Err(err) = self.store_resource(None) {
warn!("Failed to store placeholder: {}", err);
return Err(err);
Expand Down
Loading