sk0x50 commented on a change in pull request #7613: IGNITE-12821 Add check size into validate_indexes URL: https://github.com/apache/ignite/pull/7613#discussion_r407262539
########## File path: modules/indexing/src/main/java/org/apache/ignite/internal/visor/verify/ValidateIndexesClosure.java ########## @@ -412,7 +476,7 @@ private IndexIntegrityCheckIssue integrityCheckIndexPartition(CacheGroupContext finally { integrityCheckedIndexes.incrementAndGet(); - printProgressIfNeeded("Current progress of ValidateIndexesClosure: checked integrity of " + printProgressIfNeeded(() -> "Current progress of ValidateIndexesClosure: checked integrity of " Review comment: Is creating a lambda expression less expensive than volatile read? I suppose the right answer is yes. Is it right? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services