fix comment (#24254)
This commit is contained in:
parent
77f9f7cd60
commit
6fbe2b936c
|
@ -4761,9 +4761,8 @@ impl AccountsDb {
|
|||
// Regardless of whether this slot was *just* flushed from the cache by the above
|
||||
// `flush_slot_cache()`, we should update the `max_flush_root`.
|
||||
// This is because some rooted slots may be flushed to storage *before* they are marked as root.
|
||||
// This can occur for instance when:
|
||||
// 1) The cache is overwhelmed, we we flushed some yet to be rooted frozen slots
|
||||
// 2) Random evictions
|
||||
// This can occur for instance when
|
||||
// the cache is overwhelmed, we flushed some yet to be rooted frozen slots
|
||||
// These slots may then *later* be marked as root, so we still need to handle updating the
|
||||
// `max_flush_root` in the accounts cache.
|
||||
self.accounts_cache.set_max_flush_root(root);
|
||||
|
|
Loading…
Reference in New Issue