possibly fix concurrent access to entry object in SeaweedOutputStream

This commit is contained in:
Chris Lu committed 2020-06-17 14:59:43 -07:00
1 parent b74eced7a3
commit 222f93e816
4 files changed
+20 -22

No files matched your search

@@ -78,9 +78,6 @@ public class SeaweedOutputStream extends OutputStream implements Syncable, Strea
}
private synchronized void flushWrittenBytesToServiceInternal(final long offset) throws IOException {
LOG.debug("SeaweedWrite.writeMeta path: {} entry:{}", path, entry);
try {
SeaweedWrite.writeMeta(filerGrpcClient, getParentDirectory(path), entry);
} catch (Exception ex) {