Skip to content

HDDS-11420. OM rocksdb manual WAL flush control #7165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sumitagrawl
Copy link
Contributor

What changes were proposed in this pull request?

Capability is added to disable WAL manual flush of rocksdb for OM. There is no change in behavior but added for performance test purpose.
As ratis log itself provide recovery, WAL log provide duplicate mechanism. This is added for planned for Leader Side execution of request as performance optimization.

Parent JIRA:
https://issues.apache.org/jira/browse/HDDS-11415

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-11420

How was this patch tested?

  • Existing test scenario

@sumitagrawl sumitagrawl marked this pull request as ready for review September 5, 2024 12:15
@errose28
Copy link
Contributor

errose28 commented Sep 5, 2024

This looks related to #7150. Once Ozone supports RocksDB INI files we should not need to propagate RocksDB configs up to Ozone, but instead can ship with default RocksDB config files that contain our recommended practices. Since we don't need this in master immediately, I would wait until that switch to INI files completes.

@kerneltime
Copy link
Contributor

If this config is set to false, when does the WAL flush occur and how is it triggered?

<property>
<name>ozone.om.rocksdb.manual.wal.flush</name>
<value>false</value>
<tag>OZONE, OM</tag>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it ok to have different tags between ozone.om.rocksdb.manual.wal.flush and rocksdb.manual_wal_flush? (OZONE, OM, OM, SCM, DATANODE). Can ozone.om.rocksdb.manual.wal.flush also have tag DATANODE? Or rocksdb.manual_wal_flush doesn't have tag DATANODE?

@adoroszlai adoroszlai marked this pull request as draft October 14, 2024 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants