You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ashishkumar50 (via GitHub)" <gi...@apache.org> on 2025/08/05 18:28:20 UTC
Re: [PR] HDDS-13184. Persist Block Size in Delete Transaction for SCM [ozone]
ashishkumar50 commented on code in PR #8845:
URL: https://github.com/apache/ozone/pull/8845#discussion_r2254979376
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMHADBTransactionBufferImpl.java:
##########
@@ -121,6 +123,28 @@ public AtomicReference<SnapshotInfo> getLatestSnapshotRef() {
return latestSnapshot;
}
+ @Override
+ public void pauseAutoFlush() {
+ rwLock.writeLock().lock();
Review Comment:
`autoFlushEnabled` is already atomic, `rwLock` may not be required here. Same for resume.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org