SammyVimes commented on code in PR #2098:
URL: https://github.com/apache/ignite-3/pull/2098#discussion_r1204327017
##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/server/persistence/RocksDbKeyValueStorage.java:
##########
@@ -1329,7 +1345,7 @@ private void queueWatchEvent() {
eventCache = new ArrayList<>();
}
- eventCache.add(List.copyOf(updatedEntries));
+ eventCache.add(updatedEntries.copy());
Review Comment:
Clear still must be available to be called without copy
--
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]