Searched refs:sv_context (Results 1 – 10 of 10) sorted by relevance
| /rocksdb-6.9/db/db_impl/ |
| D | db_impl_readonly.cc | 165 SuperVersionContext sv_context(/* create_superversion */ true); in OpenForReadOnly() local 184 sv_context.NewSuperVersion(); in OpenForReadOnly() 185 cfd->InstallSuperVersion(&sv_context, &impl->mutex_); in OpenForReadOnly() 189 sv_context.Clean(); in OpenForReadOnly()
|
| D | db_impl_secondary.cc | 544 auto& sv_context = job_context.superversion_contexts.back(); in TryCatchUpWithPrimary() local 545 cfd->InstallSuperVersion(&sv_context, &mutex_); in TryCatchUpWithPrimary() 546 sv_context.NewSuperVersion(); in TryCatchUpWithPrimary() 631 SuperVersionContext sv_context(true /* create_superversion */); in OpenAsSecondary() local 634 sv_context.NewSuperVersion(); in OpenAsSecondary() 635 cfd->InstallSuperVersion(&sv_context, &impl->mutex_); in OpenAsSecondary() 639 sv_context.Clean(); in OpenAsSecondary()
|
| D | db_impl_compaction_flush.cc | 1268 SuperVersionContext sv_context(/* create_superversion */ true); in ReFitLevel() local 1325 InstallSuperVersionAndScheduleWork(cfd, &sv_context, mutable_cf_options); in ReFitLevel() 1337 sv_context.Clean(); in ReFitLevel() 3099 ColumnFamilyData* cfd, SuperVersionContext* sv_context, in InstallSuperVersionAndScheduleWork() argument 3112 if (UNLIKELY(sv_context->new_superversion == nullptr)) { in InstallSuperVersionAndScheduleWork() 3113 sv_context->NewSuperVersion(); in InstallSuperVersionAndScheduleWork() 3115 cfd->InstallSuperVersion(sv_context, &mutex_, mutable_cf_options); in InstallSuperVersionAndScheduleWork()
|
| D | db_impl.cc | 925 SuperVersionContext sv_context(/* create_superversion */ true); in SetOptions() 939 InstallSuperVersionAndScheduleWork(cfd, &sv_context, new_options); in SetOptions() 946 sv_context.Clean(); in SetOptions() 2331 SuperVersionContext sv_context(/* create_superversion */ true); in CreateColumnFamilyImpl() local 2370 InstallSuperVersionAndScheduleWork(cfd, &sv_context, in CreateColumnFamilyImpl() 2390 sv_context.Clean(); in CreateColumnFamilyImpl() 4340 SuperVersionContext sv_context(true /*create_superversion*/); in CreateColumnFamilyWithImport() local 4363 InstallSuperVersionAndScheduleWork(cfd, &sv_context, *cf_options); in CreateColumnFamilyWithImport() 4380 sv_context.Clean(); in CreateColumnFamilyWithImport()
|
| D | db_impl_open.cc | 1472 SuperVersionContext sv_context(/* create_superversion */ true); in Open() local 1475 cfd, &sv_context, *cfd->GetLatestMutableCFOptions()); in Open() 1477 sv_context.Clean(); in Open()
|
| D | db_impl.h | 1651 ColumnFamilyData* cfd, SuperVersionContext* sv_context,
|
| /rocksdb-6.9/db/ |
| D | compacted_db_impl.cc | 87 SuperVersionContext sv_context(/* create_superversion */ true); in Init() local 95 cfd_->InstallSuperVersion(&sv_context, &mutex_); in Init() 98 sv_context.Clean(); in Init()
|
| D | job_context.h | 197 for (auto& sv_context : superversion_contexts) { in Clean() 198 sv_context.Clean(); in Clean()
|
| D | column_family.cc | 1221 SuperVersionContext* sv_context, InstrumentedMutex* db_mutex) { in InstallSuperVersion() argument 1223 return InstallSuperVersion(sv_context, db_mutex, mutable_cf_options_); in InstallSuperVersion() 1227 SuperVersionContext* sv_context, InstrumentedMutex* db_mutex, in InstallSuperVersion() argument 1229 SuperVersion* new_superversion = sv_context->new_superversion.release(); in InstallSuperVersion() 1253 sv_context->PushWriteStallNotification( in InstallSuperVersion() 1259 sv_context->superversions_to_free.push_back(old_superversion); in InstallSuperVersion()
|
| D | column_family.h | 457 void InstallSuperVersion(SuperVersionContext* sv_context, 460 void InstallSuperVersion(SuperVersionContext* sv_context,
|