fix: Remove rocksdb secondary mode

This commit is contained in:
Terry authored and Ellis Git committed 2026-02-18 23:11:53 +00:00
1 parent 6a0b103722
commit 7ecac93ddc
9 files changed
+6 -43

No files matched your search

-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 {