Skip to content

Commit

Permalink
Fix reversed AuthorityStore ALL_VER flag (MystenLabs#849)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored Mar 15, 2022
1 parent f006b18 commit 568b28f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sui_core/src/authority/authority_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ use typed_store::rocks::{open_cf, DBBatch, DBMap};
use std::sync::atomic::Ordering;
use typed_store::{reopen, traits::Map};

pub type AuthorityStore = SuiDataStore<true>;
pub type AuthorityStore = SuiDataStore<false>;
#[allow(dead_code)]
pub type ReplicaStore = SuiDataStore<false>;
pub type ReplicaStore = SuiDataStore<true>;

/// ALL_OBJ_VER determines whether we want to store all past
/// versions of every object in the store. Authority doesn't store
Expand Down

0 comments on commit 568b28f

Please sign in to comment.