You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ren Koike (Jira)" <ji...@apache.org> on 2026/08/24 12:58:00 UTC
[jira] [Created] (HDDS-16263) Inline StreamCommitWatcher into BlockDataStreamOutput
Ren Koike created HDDS-16263:
--------------------------------
Summary: Inline StreamCommitWatcher into BlockDataStreamOutput
Key: HDDS-16263
URL: https://issues.apache.org/jira/browse/HDDS-16263
Project: Apache Ozone
Issue Type: Improvement
Components: Ozone Client
Reporter: Ren Koike
Assignee: Ren Koike
StreamCommitWatcher is a 45-line subclass of AbstractCommitWatcher whose only override is releaseBuffers() — about 10 lines of meaningful code. This thin indirection makes bufferList ownership unclear (shared between the stream and the watcher via constructor parameter).
Inline the commit-index tracking directly into BlockDataStreamOutput so that bufferList management is local to the block stream. Delete StreamCommitWatcher.java.
CommitWatcher (the Ratis path variant) is unaffected. A similar inlining may follow in a later phase if warranted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org