Skip to content

Commit

Permalink
cp from iotdb pr11835
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriCoder committed Jan 8, 2024
1 parent 970b00f commit 85b4d25
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ public void endCurrentChunk() {
*/
@SuppressWarnings("squid:S3776") // Suppress high Cognitive Complexity warning
public void endFile() throws IOException {
long startTime = System.currentTimeMillis();
checkInMemoryPathCount();
readChunkMetadataAndConstructIndexTree();

Expand All @@ -348,8 +347,6 @@ public void endFile() throws IOException {
}
}
canWrite = false;
long cost = System.currentTimeMillis() - startTime;
logger.debug("Time for flushing metadata is {} ms", cost);
}

private void checkInMemoryPathCount() {
Expand Down

0 comments on commit 85b4d25

Please sign in to comment.