Home
last modified time | relevance | path

Searched refs:read_only (Results 1 – 21 of 21) sorted by relevance

/rocksdb-6.9/utilities/ttl/
Ddb_ttl_impl.cc59 StackableDB** dbptr, int32_t ttl, bool read_only) { in OpenTtlDB() argument
61 Status s = DBWithTTL::Open(options, dbname, &db, ttl, read_only); in OpenTtlDB()
71 DBWithTTL** dbptr, int32_t ttl, bool read_only) { in Open() argument
80 dbptr, {ttl}, read_only); in Open()
94 std::vector<int32_t> ttls, bool read_only) { in Open() argument
111 if (read_only) { in Open()
/rocksdb-6.9/utilities/transactions/
Dtransaction_base.cc102 const SliceParts& key, bool read_only, in TryLock() argument
117 return TryLock(column_family, str, read_only, exclusive, do_validate, in TryLock()
618 SequenceNumber seq, bool read_only, in TrackKey() argument
621 TrackKey(&tracked_keys_, cfh_id, key, seq, read_only, exclusive); in TrackKey()
625 TrackKey(&save_points_->top().new_keys_, cfh_id, key, seq, read_only, in TrackKey()
635 bool read_only, bool exclusive) { in TrackKey() argument
661 if (read_only) { in TrackKey()
695 bool read_only = (num_writes == 0); in GetTrackedKeysSinceSavePoint() local
697 read_only, key_iter.second.exclusive); in GetTrackedKeysSinceSavePoint()
Doptimistic_transaction.cc135 const Slice& key, bool read_only, in TryLock() argument
156 TrackKey(cfh_id, key_str, seq, read_only, exclusive); in TryLock()
Doptimistic_transaction.h54 bool read_only, bool exclusive, const bool do_validate = true,
Dtransaction_base.h44 bool read_only, bool exclusive,
365 bool read_only, bool exclusive, const bool do_validate = true,
Dpessimistic_transaction.cc540 const Slice& key, bool read_only, in TryLock() argument
644 TrackKey(cfh_id, key_str, tracked_at_seq, read_only, exclusive); in TryLock()
Dpessimistic_transaction.h142 bool read_only, bool exclusive, const bool do_validate = true,
/rocksdb-6.9/include/rocksdb/utilities/
Ddb_ttl.h55 bool read_only = false);
61 bool read_only = false);
Dutility_db.h30 StackableDB** dbptr, int32_t ttl = 0, bool read_only = false);
/rocksdb-6.9/db/
Dversion_edit_handler.h36 bool read_only,
108 bool read_only,
Dversion_edit_handler.cc17 bool read_only, const std::vector<ColumnFamilyDescriptor>& column_families, in VersionEditHandler() argument
20 : read_only_(read_only), in VersionEditHandler()
473 bool read_only, const std::vector<ColumnFamilyDescriptor>& column_families, in VersionEditHandlerPointInTime() argument
475 : VersionEditHandler(read_only, column_families, version_set, in VersionEditHandlerPointInTime()
Dversion_set_test.cc1451 bool read_only = std::get<1>(GetParam()); in TEST_P() local
1462 read_only, &db_id, in TEST_P()
1494 bool read_only = std::get<1>(GetParam()); in TEST_P() local
1503 read_only, &db_id, in TEST_P()
1540 bool read_only = std::get<1>(GetParam()); in TEST_P() local
1549 read_only, &db_id, in TEST_P()
1597 bool read_only = std::get<1>(GetParam()); in TEST_P() local
1606 read_only, &db_id, in TEST_P()
1653 bool read_only = std::get<1>(GetParam()); in TEST_P() local
1662 read_only, &db_id, in TEST_P()
[all …]
Dversion_set.h886 bool read_only = false, std::string* db_id = nullptr);
889 bool read_only, std::string* db_id,
897 bool read_only, std::string* db_id, bool* has_missing_table_file);
Dperf_context_test.cc39 std::shared_ptr<DB> OpenDb(bool read_only = false) { in OpenDb() argument
58 if (!read_only) { in OpenDb()
Dversion_set.cc4436 const std::vector<ColumnFamilyDescriptor>& column_families, bool read_only, in Recover() argument
4531 if (read_only == false && !column_families_not_found.empty()) { in Recover()
4559 if (read_only) { in Recover()
4714 const std::vector<ColumnFamilyDescriptor>& column_families, bool read_only, in TryRecover() argument
4728 s = TryRecoverFromOneManifest(manifest_path, column_families, read_only, in TryRecover()
4742 const std::vector<ColumnFamilyDescriptor>& column_families, bool read_only, in TryRecoverFromOneManifest() argument
4766 VersionEditHandlerPointInTime handler_pit(read_only, column_families, in TryRecoverFromOneManifest()
/rocksdb-6.9/db/db_impl/
Ddb_impl_open.cc352 const std::vector<ColumnFamilyDescriptor>& column_families, bool read_only, in Recover() argument
359 if (!read_only) { in Recover()
423 s = versions_->Recover(column_families, read_only, &db_id_); in Recover()
425 s = versions_->TryRecover(column_families, read_only, &db_id_, in Recover()
469 if (s.ok() && !read_only) { in Recover()
561 s = RecoverLogFiles(logs, &next_sequence, read_only, in Recover()
576 if (read_only) { in Recover()
695 SequenceNumber* next_sequence, bool read_only, in RecoverLogFiles() argument
954 if (has_valid_writes && !read_only) { in RecoverLogFiles()
1050 if (!read_only) { in RecoverLogFiles()
Ddb_impl_secondary.h80 bool read_only, bool error_if_log_file_exist,
Ddb_impl.h1137 bool read_only = false, bool error_if_log_file_exist = false,
1394 SequenceNumber* next_sequence, bool read_only,
/rocksdb-6.9/db_stress_tool/
Ddb_stress_gflags.cc26 DEFINE_bool(read_only, false, "True if open DB in read-only mode during tests");
Ddb_stress_common.h82 DECLARE_bool(read_only);
/rocksdb-6.9/utilities/backupable/
Dbackupable_db.cc92 bool read_only = false);
539 Env* db_env, bool read_only) in BackupEngineImpl() argument
548 read_only_(read_only) { in BackupEngineImpl()