Skip to content

Commit

Permalink
[TaskCenter] Stage 4
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedSoliman committed Nov 22, 2024
1 parent 26b9886 commit eb2d796
Show file tree
Hide file tree
Showing 15 changed files with 582 additions and 635 deletions.
399 changes: 196 additions & 203 deletions crates/admin/src/cluster_controller/service.rs

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions crates/bifrost/src/appender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
use std::sync::Arc;
use std::time::Instant;

use restate_types::storage::StorageEncode;
use tracing::{debug, info, instrument, warn};

use restate_core::Metadata;
use restate_types::config::Configuration;
use restate_types::live::Live;
use restate_types::logs::metadata::SegmentIndex;
use restate_types::logs::{LogId, Lsn, Record};
use restate_types::retries::RetryIter;
use restate_types::storage::StorageEncode;

use crate::bifrost::BifrostInner;
use crate::loglet::AppendError;
Expand Down Expand Up @@ -167,8 +168,9 @@ impl Appender {
);
return Ok(loglet);
} else {
let log_version = Metadata::with_current(|m| m.logs_version());
debug!(
log_version = %bifrost_inner.metadata.logs_version(),
log_version = %log_version,
"Still waiting for sealing to complete. Elapsed={:?}",
start.elapsed(),
);
Expand Down
Loading

0 comments on commit eb2d796

Please sign in to comment.