Skip to content
Open
Show file tree
Hide file tree
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
134 changes: 61 additions & 73 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rust/blockstore/src/arrow/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ impl BlockManager {
id: &Uuid,
priority: StorageRequestPriority,
) -> Result<Option<Block>, GetError> {
let block = self.block_cache.obtain(*id).await.ok().flatten();
let block = self.block_cache.get(id).await.ok().flatten();
if let Some(block) = block {
return Ok(Some(block));
}
Expand Down Expand Up @@ -664,7 +664,7 @@ impl RootManager {
prefix_path: &str,
max_block_size_bytes: usize,
) -> Result<Option<RootReader>, RootManagerError> {
let index = self.cache.obtain(*id).await.ok().flatten();
let index = self.cache.get(id).await.ok().flatten();
match index {
Some(index) => Ok(Some(index)),
None => {
Expand Down
4 changes: 2 additions & 2 deletions rust/cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ path = "src/lib.rs"

[dependencies]
clap = { workspace = true }
foyer = { version = "0.17.3", features = ["tracing", "serde"] }
mixtrics = { version = "0.1.0", features = ["opentelemetry_0_27"] }
foyer = { version = "0.21.0", features = ["tracing", "serde"] }
mixtrics = { version = "0.2.3", features = ["opentelemetry_0_27"] }
anyhow = "1.0"
opentelemetry = { version = "0.27.0", default-features = false, features = ["trace", "metrics"] }

Expand Down
Loading