SteNicholas commented on code in PR #2555:
URL: https://github.com/apache/celeborn/pull/2555#discussion_r1677447916
##########
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:
@mridulm, you could take a look at the description of this pull request,
which has listed all WARNINGs.
--
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]