Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: close over disk slow event listener
When addressing an interface change in a recent vendor bump (cockroachdb#102882), a closure over the existing event listener (passed in via `opts`) was removed in favor of instantiating Pebble's event listener directly. This had the effect of dropping disk slow events. Revert to using a function that closed over the `opts`, making use of the existing event listener. Fixes: cockroachdb#103185 Fixes: cockroachdb#102946 Fixes: cockroachdb#102944 Fixes: cockroachdb#102940 Release note: None.
- Loading branch information