fix: Remove rocksdb secondary mode

This commit is contained in:
Terry
2026-02-18 23:04:00 +00:00
committed by Ellis Git
parent 6a0b103722
commit 7ecac93ddc
9 changed files with 6 additions and 43 deletions
-9
View File
@@ -33,7 +33,6 @@ pub struct Engine {
pub(crate) db: Db,
pub(crate) pool: Arc<Pool>,
pub(crate) ctx: Arc<Context>,
pub(super) secondary: bool,
pub(crate) checksums: bool,
corks: AtomicU32,
}
@@ -128,14 +127,6 @@ impl Engine {
sequence
}
#[inline]
#[must_use]
pub fn is_read_only(&self) -> bool { self.secondary }
#[inline]
#[must_use]
pub fn is_secondary(&self) -> bool { self.secondary }
}
impl Drop for Engine {