Commit Graph

469 Commits (490fcac07832205cb0bdb7ade24118d6567544fa)

Author SHA1 Message Date
mrambacher ab7f7c9e49 Allow WAL dir to change with db dir (#8582) 3 years ago
Yanqin Jin 066b51126d Several simple local code clean-ups (#8565) 3 years ago
Peter Dillinger 1d34cd797e Fix insecure internal API for GetImpl (#8590) 3 years ago
sdong e8f218cb68 DB::GetSortedWalFiles() to ensure file deletion is disabled (#8591) 3 years ago
Baptiste Lemaire c521a9ab2b Retire superfluous functions introduced in earlier mempurge PRs. (#8558) 3 years ago
Yanqin Jin 2e5388178f Return error if trying to open secondary on missing or inaccessible primary (#8200) 3 years ago
Peter Dillinger 84eef260de Remove TaskLimiterToken::ReleaseOnce for fix (#8567) 3 years ago
Jay Zhuang 42eaa45c1b Avoid updating option if there's no value updated (#8518) 3 years ago
sdong 9e885939a3 Change to code for trimmed memtable history is to released outside DB mutex (#8530) 3 years ago
Peter Dillinger df5dc73bec Don't hold DB mutex for block cache entry stat scans (#8538) 3 years ago
Baptiste Lemaire 206845c057 Mempurge support for wal (#8528) 3 years ago
longlijian 803a40d412 Delete legacy code not used any more. (#8508) 3 years ago
Dmitry Vorobev 0b75b22321 Implement missing Handler methods in ColumnFamilyCollector. (#8456) 3 years ago
anand76 d1b70b05a6 Avoid passing existing BG error to WriteStatusCheck (#8511) 3 years ago
Baptiste Lemaire 837705ad80 Make mempurge a background process (equivalent to in-memory compaction). (#8505) 3 years ago
longlijian ac3f3f3719 Eliminate compiler complaining, which the return type of the function… (#8498) 3 years ago
Baptiste Lemaire 714ce5041d Fix clang_analyzer failure (#8492) 3 years ago
Baptiste Lemaire 9dc887ece0 Memtable "MemPurge" prototype (#8454) 3 years ago
Akanksha Mahajan c76778e2bd Call OnCompactionCompleted API in case of DisableManualCompaction (#8469) 3 years ago
Jay Zhuang 93a7389442 Add statistics support on CompactionService remote side (#8368) 3 years ago
mrambacher be219089ad Add BlobMetaData retrieval methods (#8273) 3 years ago
Zhichao Cao a904c62d28 Using existing crc32c checksum in checksum handoff for Manifest and WAL (#8412) 3 years ago
Jay Zhuang 54d73d6429 Fix DeleteFilesInRange may cause inconsistent compaction error (#8434) 3 years ago
Zhichao Cao 82a70e1470 Trace MultiGet Keys and CF_IDs to the trace file (#8421) 3 years ago
anand76 575ea26ec9 Don't log a warning if file system doesn't support ReopenWritableFile() (#8414) 3 years ago
mrambacher d5bd0039b9 Rename ImmutableOptions variables (#8409) 3 years ago
Peter Dillinger b3dbeadc34 Fix double-dumping CF stats to log (#8380) 3 years ago
Zhichao Cao f44e69c64a Use DbSessionId as cache key prefix when secondary cache is enabled (#8360) 3 years ago
David Devecsery 80a59a03a7 Cancel compact range (#8351) 3 years ago
Peter (Stig) Edwards c75ef03e58 Do not truncate WAL if in read_only mode (#8313) 4 years ago
Jay Zhuang 3786181a90 Add remote compaction public API (#8300) 4 years ago
mrambacher 8948dc8524 Make ImmutableOptions struct that inherits from ImmutableCFOptions and ImmutableDBOptions (#8262) 4 years ago
Andrew Kryczka c70bae1b05 Fix ConcurrentTaskLimiter token release for shutdown (#8253) 4 years ago
Peter Dillinger d2ca04e3ed Add more LSM info to FilterBuildingContext (#8246) 4 years ago
Peter Dillinger 85becd94c1 Refactor: use TableBuilderOptions to reduce parameter lists (#8240) 4 years ago
mrambacher 01e460d538 Make types of Immutable/Mutable Options fields match that of the underlying Option (#8176) 4 years ago
Jay Zhuang f0fca2b1d5 Add internal compaction API for Secondary instance (#8171) 4 years ago
Zhichao Cao 09a9ec3ac0 Fix the false positive alert of CF consistency check in WAL recovery (#8207) 4 years ago
sdong 4985cea141 Add comment to DisableManualCompaction() (#8186) 4 years ago
Akanksha Mahajan 596e9008e4 Stall writes in WriteBufferManager when memory_usage exceeds buffer_size (#7898) 4 years ago
Yanqin Jin a376c22066 Handle rename() failure in non-local FS (#8192) 4 years ago
Yanqin Jin b1f62be10e Use the right level (L0) for files written during WAL recovery (#8187) 4 years ago
Giuseppe Ottaviano 48cd7a3aae Fix flush reason attribution (#8150) 4 years ago
Peter Dillinger a4e82a3cca Fix read-only DB writing to filesystem with write_dbid_to_manifest (#8164) 4 years ago
Peter Dillinger 879357fdb0 Make backups openable as read-only DBs (#8142) 4 years ago
Akanksha Mahajan 689b13e639 Add request_id in IODebugContext. (#8045) 4 years ago
sherriiiliu e6534900bd Fix possible hang issue in ~DBImpl() when flush is scheduled in LOW pool (#8125) 4 years ago
anand76 7d7f14480e Always truncate the latest WAL file on DB Open (#8122) 4 years ago
Zhichao Cao af80a78ba4 Fix flush no wal IO error bug (#8107) 4 years ago
Andrew Kryczka c20a7cd6c7 Apply `sample_for_compression` to all block-based tables (#8105) 4 years ago