Lalant commented on code in PR #7428:
URL: https://github.com/apache/ignite-3/pull/7428#discussion_r2711876013
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/StorageUpdateHandler.java:
##########
@@ -506,6 +506,15 @@ public IndexUpdateHandler getIndexUpdateHandler() {
return indexUpdateHandler;
}
+ /**
+ * Returns the total number of unresolved write intents across all
transactions.
+ *
+ * @return Total number of pending row IDs.
+ */
+ public int getPendingRowAmount() {
+ return pendingRows.getPendingRowAmount();
+ }
Review Comment:
Indeed, the count is much better. Regarding rows vs row I would disagree.
English compound nouns keep the modifier singular (user count, item count, row
count).
--
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]