Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
134585: rac2: clear scratchEvent after using r=sumeerbhola a=pav-kv The `scratchEvent` holds a `LogSnapshot`. We do not want to hold it after it is used. Holding it longer may lead to raft entries outliving the corresponding proposals and increase memory footprint. The `LogSnapshot` is also unsafe to use outside a single `raftMu` scope. Epic: none Release note: none Co-authored-by: Pavel Kalinnikov <[email protected]>
- Loading branch information