Skip to content

Conversation

@swamirishi
Copy link
Contributor

What changes were proposed in this pull request?

Given that background services in OM are going to submit multiple requests in parallel then there should be a way to increase raft.server.write.byte-limit for om which is not configurable now. Adding the config to make the RaftProperty configurable.

What is the link to the Apache JIRA

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

How was this patch tested?

Adding configuration no additional tests required.

…g write byte limit

Change-Id: Ief5ca5e8241a5a1457537927d4827bce761bbe59
@adoroszlai adoroszlai changed the title HDDS-13308. OM should expose ratis config for increasing ratis pending write byte limit HDDS-13308. OM should expose Ratis config for increasing pending write limits Jun 20, 2025
Copy link
Contributor

@ivandika3 ivandika3 left a comment

Choose a reason for hiding this comment

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

Thanks @swamirishi for the patch. Left some comments.

Change-Id: If1b45518746793c4ac0a13af69f88e640396419c
Change-Id: I7e95083d0c39f6877019a9690de890ae9d921718
@swamirishi
Copy link
Contributor Author

@ivandika3 sorry for the delay in addressing the review comments. If we are good we can change merge the issue.

@swamirishi swamirishi marked this pull request as ready for review July 16, 2025 19:06
Copy link
Contributor

@ivandika3 ivandika3 left a comment

Choose a reason for hiding this comment

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

@swamirishi Thanks for the update. LGTM +1.

@swamirishi swamirishi merged commit 35e1745 into apache:master Jul 17, 2025
92 of 93 checks passed
@swamirishi
Copy link
Contributor Author

Thanks @ivandika3 for reviewing the patch.

errose28 added a commit to errose28/ozone that referenced this pull request Jul 22, 2025
* master: (90 commits)
  HDDS-13308. OM should expose Ratis config for increasing pending write limits (apache#8668)
  HDDS-8903. Add validation for ozone.om.snapshot.db.max.open.files. (apache#8787)
  HDDS-13429. Custom metadata headers with uppercase characters are not supported (apache#8805)
  HDDS-13448. DeleteBlocksCommandHandler thread stop for normal exception (apache#8816)
  HDDS-13346. Intermittent failure in TestCloseContainer#testContainerChecksumForClosedContainer (apache#8771)
  HDDS-13125. Add metrics for monitoring the SST file pruning threads. (apache#8764)
  HDDS-13367. [Docs] User doc for container balancer. (apache#8726)
  HDDS-13200. OM RocksDB Grafana Dashbroad shows no data on all panels (apache#8577)
  HDDS-13428. Recon - Retrigger of build whole NSSummary tree task submission inconsistency. (apache#8793)
  HDDS-13378. [Docs] Add a Production page under Getting Started (apache#8734)
  HDDS-13403. [Docs] Make feature proposal process more visible. (apache#8758)
  HDDS-11797. Remove cyclic dependency between SCMSafeModeManager and SafeModeRules (apache#8782)
  HDDS-13213. KeyDeletingService should limit task size by both key count and serialized size. (apache#8757)
  HDDS-13387. OMSnapshotCreateRequest logs invalid warning about DefaultReplicationConfig (apache#8760)
  HDDS-13405. ozone admin container create runs forever without kinit (apache#8765)
  HDDS-11514. Set optimal default values for delete configurations based on live cluster testing. (apache#8766)
  HDDS-13376. Add server-side limit note to ozone sh snapshot diff --page-size option (apache#8791)
  HDDS-11679. Support multiple S3Gs in MiniOzoneCluster (apache#8733)
  HDDS-13424. Use lsof instead of fuser to find if file is used in AbstractTestChunkManager (apache#8790)
  HDDS-13427. Bump awssdk to 2.31.78 (apache#8792)
  ...
@szetszwo
Copy link
Contributor

... there should be a way to increase raft.server.write.byte-limit for om which is not configurable now. ...

@swamirishi , in OM, all the ratis confs can be set by using the "ozone.om.ha" prefix. In this case, the existing conf before this PR is

  • Existing conf: ozone.om.ha.raft.server.write.byte-limit

Why adding "pending" in the new conf below? It seems to be quite confusing.

  • New conf: ozone.om.ratis.server.pending.write.byte-limit

jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Jul 31, 2025
@szetszwo
Copy link
Contributor

szetszwo commented Aug 4, 2025

@swamirishi , since we already have an existing conf ozone.om.ha.raft.server.write.byte-limit and the new conf ozone.om.ratis.server.pending.write.byte-limit is quite confusing, how about we revert this?

@swamirishi
Copy link
Contributor Author

swamirishi commented Aug 4, 2025

sure @szetszwo let us revert this change I didn't realize this change was there. In this case should we not deprecate al the configs I got confused because there were a few configs like this

<property>
<name>ozone.om.ratis.log.purge.preservation.log.num</name>
<value>0</value>
<tag>OZONE, OM, RATIS</tag>
<description>
The number of latest Raft logs to not be purged after taking snapshot.
</description>
</property>

which are redundant we should deprecate these configs since configs like these could conflict with their prefix counterparts.

@szetszwo
Copy link
Contributor

szetszwo commented Aug 4, 2025

... let us revert this change ...

That's great! Could you revert it?

@ivandika3
Copy link
Contributor

Raised https://issues.apache.org/jira/browse/HDDS-13686

@szetszwo
Copy link
Contributor

@swamirishi , it would be great if you could follow up promptly for the problems you have introduced. The Apache Ozone community thanks you!

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.

3 participants