qiaojialin commented on a change in pull request #2635:
URL: https://github.com/apache/iotdb/pull/2635#discussion_r571349427
##########
File path: tsfile/src/main/java/org/apache/iotdb/tsfile/utils/PublicBAOS.java
##########
@@ -76,12 +76,12 @@ public void writeTo(OutputStream out) throws IOException {
* reusing the already allocated buffer space.
*/
@Override
- public void reset() {
+ public synchronized void reset() {
Review comment:
the same, we remove the synchronized in all override method in PublicBAOS
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]