coderzc opened a new pull request, #18801: URL: https://github.com/apache/pulsar/pull/18801
### Motivation Now, RocksdbMetadataStore enables `WriteOptions.sync`, which will make writing slower, I add a config `metadataFsyncEnabled` to allow user to disable `fsync` according to the need. ### Modifications Add config `metadataFsyncEnabled` for `RocksdbMetadataStore`. ### Verifying this change The `PulsarLedgerIdGeneratorTest` and `MetadataBenchmark` execution time less ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. Please attach the local preview screenshots (run `sh start.sh` at `pulsar/site2/website`) to your PR description, or else your PR might not get merged. --> - [x] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> ### Matching PR in forked repository PR in forked repository: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
