diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-01-07 00:43:08 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-01-07 00:43:08 +0200 |
| commit | bb64bc35beea7e0c46407b42a6240f084ccd137a (patch) | |
| tree | d938950a895e0b1707c6a14d0f04f0ec675ab848 /log_db/src/common.rs | |
| parent | 3e1d169fe822f711bd96278e13cd89e2800c8927 (diff) | |
Move refresh_indexes out of do_maintenance_tasks, fix benches
Diffstat (limited to 'log_db/src/common.rs')
| -rw-r--r-- | log_db/src/common.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log_db/src/common.rs b/log_db/src/common.rs index 4f5751d..8bdcd9a 100644 --- a/log_db/src/common.rs +++ b/log_db/src/common.rs @@ -216,7 +216,7 @@ impl MetadataHeader { #[derive(Debug, Clone, Eq, PartialEq)] pub enum ReadConsistency { /// Reads by client A are guaranteed to see writes by themselves and any writes by other clients B - /// that were done before last index refresh. + /// that were done before last index refresh. You must call `refresh_indexes()` manually to refresh indexes. Eventual, /// Reads by client A are guaranteed to see all writes. This is slower: all reads must first /// refresh indexes. |
