jt2594838 commented on code in PR #16833:
URL: https://github.com/apache/iotdb/pull/16833#discussion_r2579395863
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/cache/schema/dualkeycache/impl/DualKeyCacheImpl.java:
##########
@@ -144,7 +144,28 @@ public void update(
@Override
public void update(
final FK firstKey, final Predicate<SK> secondKeyChecker, final
ToIntFunction<V> updater) {
- final ICacheEntryGroup<FK, SK, V, T> entryGroup =
firstKeyMap.get(firstKey);
+ clearSecondEntry(firstKeyMap.get(firstKey), secondKeyChecker, updater);
+ mayEvict();
+ }
Review Comment:
Why do you call it `clear`?
--
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]