docs: improve chunk ordering docs

pull/24376/head
Marco Neumann 2021-09-10 09:12:15 +02:00
parent 96618af6a2
commit c28f38309a
2 changed files with 6 additions and 6 deletions

View File

@ -233,8 +233,8 @@ where
let chunks = LockablePartition::chunks(&partition);
// Also sort chunks by:
// 1. order: to ensure we compact closed order ranges during persistence
// Sort chunks by:
// 1. order: ensure compacting chunks with any potential updates together
// 2. ID: for a stable lock order
let mut chunks: Vec<_> = chunks
.into_iter()
@ -404,8 +404,8 @@ where
}
};
// Also sort chunks by:
// 1. order: to ensure we compact closed order ranges during persistence
// Sort chunks by:
// 1. order: ensure compacting chunks with any potential updates together
// 2. ID: for a stable lock order
let mut chunks: Vec<_> = chunks
.into_iter()

View File

@ -761,8 +761,8 @@ impl Db {
partition_key,
})?;
// Also sort chunks by:
// 1. order: to ensure we compact closed order ranges during persistence
// Sort chunks by:
// 1. order: ensure compacting chunks with any potential updates together
// 2. ID: for a stable lock order
let mut chunks: Vec<_> = chunks
.into_iter()