expect only 1 store per slot (#28844)

expect only 1 store per slot in shrink
This commit is contained in:
Jeff Washington (jwash) 2022-11-23 08:20:36 -06:00 committed by GitHub
parent 04016e3bcf
commit 9a24743d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -3881,6 +3881,8 @@ impl AccountsDb {
.bytes_written
.fetch_add(aligned_total, Ordering::Relaxed);
assert_eq!(store_ids.len(), 1);
ShrinkCollect {
store_ids,
original_bytes,