mridulm commented on code in PR #2555:
URL: https://github.com/apache/celeborn/pull/2555#discussion_r1680345724
##########
common/src/main/java/org/apache/celeborn/common/meta/FileInfo.java:
##########
@@ -56,7 +56,7 @@ public long getFileLength() {
return bytesFlushed;
}
- public void updateBytesFlushed(long bytes) {
+ public synchronized void updateBytesFlushed(long bytes) {
bytesFlushed += bytes;
Review Comment:
Scratch that - this change makes sense: not sure what I missed when I
reviewed it first time around :-(
--
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]