Caideyipi commented on code in PR #18358:
URL: https://github.com/apache/iotdb/pull/18358#discussion_r3710776084
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.java:
##########
@@ -970,9 +939,11 @@ private static boolean containsFailedStatus(TSStatus[]
results, int start, int l
return false;
}
- private static boolean containsMarkedBit(BitMap bitMap, int start, int
length) {
- if (length <= 0) {
- return false;
+ static boolean containsMarkedBit(BitMap bitMap, int start, int length) {
Review Comment:
Applied, thanks. I bumped TsFile to 2.3.2-260731-SNAPSHOT and replaced the
local range scan with BitMap.isRangeAnyMarked(...) at both call sites. I also
updated the benchmark and removed the duplicate helper tests. Verified with mvn
clean test -pl iotdb-core/datanode -Dtest=AlignedTVListTest,TsFileProcessorTest
-DfailIfNoTests=false (39 tests passed).
--
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]