From 41b0c6cb898ed771b74d4fd2e80522118befe4fe Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Mon, 18 Apr 2022 09:21:31 -0700 Subject: [PATCH] Add new public method seq_per_batch() to DBImpl --- db/db_impl/db_impl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/db_impl/db_impl.h b/db/db_impl/db_impl.h index 466811a12..19e9fafb4 100644 --- a/db/db_impl/db_impl.h +++ b/db/db_impl/db_impl.h @@ -1174,6 +1174,8 @@ class DBImpl : public DB { static void TEST_ResetDbSessionIdGen(); static std::string GenerateDbSessionId(Env* env); + bool seq_per_batch() const { return seq_per_batch_; } + protected: const std::string dbname_; // TODO(peterd): unify with VersionSet::db_id_