mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-23 06:09:59 +00:00
cargo fmt
This commit is contained in:
@@ -486,7 +486,9 @@ impl<'t> IntegratedCacheWriteAccess<'t> {
|
|||||||
cache_block: AtomicU64::new(cache_block),
|
cache_block: AtomicU64::new(cache_block),
|
||||||
pinned: AtomicU64::new(0),
|
pinned: AtomicU64::new(0),
|
||||||
referenced: AtomicBool::new(true),
|
referenced: AtomicBool::new(true),
|
||||||
}).is_ok() {
|
})
|
||||||
|
.is_ok()
|
||||||
|
{
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
// The hash map was full. Evict an entry and retry.
|
// The hash map was full. Evict an entry and retry.
|
||||||
@@ -543,7 +545,9 @@ impl<'t> IntegratedCacheWriteAccess<'t> {
|
|||||||
cache_block: AtomicU64::new(cache_block),
|
cache_block: AtomicU64::new(cache_block),
|
||||||
pinned: AtomicU64::new(0),
|
pinned: AtomicU64::new(0),
|
||||||
referenced: AtomicBool::new(true),
|
referenced: AtomicBool::new(true),
|
||||||
}).is_ok() {
|
})
|
||||||
|
.is_ok()
|
||||||
|
{
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
// The hash map was full. Evict an entry and retry.
|
// The hash map was full. Evict an entry and retry.
|
||||||
@@ -885,7 +889,9 @@ impl<'t> IntegratedCacheReadAccess<'t> {
|
|||||||
cache_block: AtomicU64::new(INVALID_CACHE_BLOCK),
|
cache_block: AtomicU64::new(INVALID_CACHE_BLOCK),
|
||||||
pinned: AtomicU64::new(0),
|
pinned: AtomicU64::new(0),
|
||||||
referenced: AtomicBool::new(true),
|
referenced: AtomicBool::new(true),
|
||||||
}).is_ok() {
|
})
|
||||||
|
.is_ok()
|
||||||
|
{
|
||||||
false
|
false
|
||||||
} else {
|
} else {
|
||||||
// The hash table is full.
|
// The hash table is full.
|
||||||
|
|||||||
Reference in New Issue
Block a user