Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#24783] docdb: Skip loading transactions with start_time < min_repla…
…y_txn_start_time Summary: Transactions that have start_time < min_replay_txn_start_time are by definition transactions that are not used at bootstrap time, so there is no need to load their metadata into transaction participant. When CDC is in use (before image and lagging stream cases), there may be very large intent SST files. While we filter out entire intent SST files during transaction loading in tablet bootstrap when the entire SST file is below min_replay_txn_start_time, this still leaves us with up to several million unnecessary transactions loaded, costing multiple GB of memory and causing further issues (slow/no progress in bootstrap) if there is insufficient memory as a result. This diff avoids loading those transactions into transaction participant. Jira: DB-13882 Test Plan: Jenkins: urgent Reviewers: sergei Reviewed By: sergei Subscribers: rthallam, ybase Differential Revision: https://phorge.dev.yugabyte.com/D39730
- Loading branch information