| /rocksdb-6.9/logging/ |
| D | env_logger_test.cc | 41 assert(NewEnvLogger(kLogFile, env_, &result).ok()); in CreateLogger() 47 void DeleteLogFile() { ASSERT_OK(env_->DeleteFile(kLogFile)); } in DeleteLogFile() 51 static const std::string kLogFile; member in ROCKSDB_NAMESPACE::EnvLoggerTest 56 const std::string EnvLoggerTest::kLogFile = test::PerThreadDBPath("log_file"); member in ROCKSDB_NAMESPACE::EnvLoggerTest 64 ASSERT_EQ(env_->GetFileSize(kLogFile, &file_size), Status::OK()); in TEST_F() 81 ASSERT_EQ(test::GetLinesCount(kLogFile, kSampleMessage), kNumIter); in TEST_F() 96 ASSERT_EQ(test::GetLinesCount(kLogFile, kSampleMessage), kNumIter); in TEST_F() 105 ASSERT_EQ(env_->GetFileSize(kLogFile, &file_size), Status::OK()); in TEST_F() 123 ASSERT_EQ(test::GetLinesCount(kLogFile, kSampleMessage), kNumIter); in TEST_F() 152 ASSERT_EQ(test::GetLinesCount(kLogFile, kSampleMessage), in TEST_F()
|
| D | auto_roll_logger_test.cc | 119 static const std::string kLogFile; member in ROCKSDB_NAMESPACE::AutoRollLoggerTest 127 const std::string AutoRollLoggerTest::kLogFile( member in ROCKSDB_NAMESPACE::AutoRollLoggerTest 167 EXPECT_OK(env->GetFileSize(kLogFile, &total_log_size)); in RollLogFileByTimeTest() 219 ASSERT_EQ(Status::NotFound(), default_env->FileExists(kLogFile)); in TEST_F() 221 ASSERT_OK(default_env->FileExists(kLogFile)); in TEST_F() 515 std::ifstream inFile(AutoRollLoggerTest::kLogFile.c_str()); in TEST_F() 554 std::ifstream inFile(AutoRollLoggerTest::kLogFile.c_str()); in TEST_F() 656 ASSERT_OK(default_env->FileExists(kLogFile)); in TEST_F()
|
| /rocksdb-6.9/db/ |
| D | filename_test.cc | 38 {"100.log", 100, kLogFile, kAllMode}, in TEST_F() 39 {"0.log", 0, kLogFile, kAllMode}, in TEST_F() 53 {"18446744073709551615.log", 18446744073709551615ull, kLogFile, in TEST_F() 145 ASSERT_EQ(kLogFile, type); in TEST_F()
|
| D | wal_manager_test.cc | 172 if (ParseFileName(f, &number, &type) && type == kLogFile) { in GetLogDirSize() 233 ListSpecificFiles(env_.get(), archive_dir, kLogFile); in TEST_F() 248 log_files = ListSpecificFiles(env_.get(), archive_dir, kLogFile); in TEST_F() 266 ListSpecificFiles(env_.get(), archive_dir, kLogFile); in TEST_F() 274 log_files = ListSpecificFiles(env_.get(), archive_dir, kLogFile); in TEST_F()
|
| D | db_info_dumper.cc | 57 case kLogFile: in DumpDBFileSummary() 110 if (type == kLogFile) { in DumpDBFileSummary()
|
| D | wal_manager.cc | 178 if (ParseFileName(f, &number, &type) && type == kLogFile) { in PurgeObsoleteWALFiles() 295 if (ParseFileName(f, &number, &type) && type == kLogFile) { in GetSortedWalsOfType()
|
| D | corruption_test.cc | 279 Corrupt(kLogFile, 19, 1); // WriteBatch tag for first record in TEST_F() 280 Corrupt(kLogFile, log::kBlockSize + 1000, 1); // Somewhere in second block in TEST_F()
|
| D | obsolete_files_test.cc | 75 log_cnt += (type == kLogFile); in CheckFileTypeCounts()
|
| D | deletefile_test.cc | 115 log_cnt += (type == kLogFile); in CheckFileTypeCounts()
|
| D | repair.cc | 300 if (type == kLogFile) { in FindFiles()
|
| D | column_family_test.cc | 3254 if (type != kLogFile) continue; in TEST_P()
|
| D | db_test2.cc | 4152 if (ParseFileName(f, &number, &type) && type == FileType::kLogFile) { in TEST_F()
|
| /rocksdb-6.9/db/db_impl/ |
| D | db_impl_files.cc | 261 if (type == kTableFile || type == kLogFile) { in DeleteObsoleteFileImpl() 402 case kLogFile: in PurgeObsoleteFiles() 472 (type == kLogFile) ? immutable_db_options_.wal_dir : dbname_; in PurgeObsoleteFiles() 482 if (type == kLogFile && (immutable_db_options_.wal_ttl_seconds > 0 || in PurgeObsoleteFiles()
|
| D | db_impl.cc | 3163 (type != kTableFile && type != kLogFile)) { in DeleteFile() 3170 if (type == kLogFile) { in DeleteFile() 3558 } else if (type == kTableFile || type == kLogFile) { in DestroyDB() 3611 if (ParseFileName(file, &number, &type) && type == kLogFile) { in DestroyDB() 3626 if (ParseFileName(file, &number, &type) && type == kLogFile) { in DestroyDB()
|
| D | db_impl_secondary.cc | 115 if (ParseFileName(filenames[i], &number, &type) && type == kLogFile && in FindNewLogNumbers()
|
| D | db_secondary_test.cc | 101 log_cnt += (type == kLogFile); in CheckFileTypeCounts()
|
| D | db_impl_open.cc | 524 if (ParseFileName(filenames[i], &number, &type) && type == kLogFile) { in Recover()
|
| /rocksdb-6.9/utilities/checkpoint/ |
| D | checkpoint_impl.cc | 316 live_wal_files[i]->SizeFileBytes(), kLogFile); in CreateCustomCheckpoint() 322 kLogFile); in CreateCustomCheckpoint() 330 kLogFile); in CreateCustomCheckpoint()
|
| D | checkpoint_test.cc | 669 if (ParseFileName(file, &num, &type, &log_type) && type == kLogFile) { in TEST_F()
|
| /rocksdb-6.9/file/ |
| D | filename.cc | 350 *type = kLogFile; in ParseFileName() 430 FileType type = kLogFile; in GetInfoLogFiles()
|
| D | filename.h | 39 kLogFile, enumerator
|
| /rocksdb-6.9/utilities/backupable/ |
| D | backupable_db.cc | 860 if (type == kLogFile && !options_.backup_log_files) { in CreateNewBackupWithMetadata() 871 case kLogFile: in CreateNewBackupWithMetadata() 1161 DeleteChildren(db_dir, 1 << kLogFile); in RestoreDBFromBackup() 1170 if (ok && type == kLogFile) { in RestoreDBFromBackup() 1220 dst = ((type == kLogFile) ? wal_dir : db_dir) + in RestoreDBFromBackup()
|
| D | backupable_db_test.cc | 654 if (ok && type == kLogFile) { in DeleteLogFiles()
|
| /rocksdb-6.9/tools/ |
| D | ldb_cmd.cc | 1114 FileType file_type = kLogFile; // Just for initialization in DoCommand() 1649 case kLogFile: in DoCommand()
|