-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove LogicalCollection::numberDocuments() #18401
remove LogicalCollection::numberDocuments() #18401
Conversation
if (documents == transaction::CountCache::NotPopulated) { | ||
// cache was not populated before or cache value has expired | ||
documents = getPhysical()->numberDocuments(trx); | ||
_countCache.store(documents); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
count cache probably never used now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is used in another place, in coordinator-only code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
countCoordinatorHelper, I see
…move-logical-collection-number-documents
…move-logical-collection-number-documents
Scope & Purpose
remove LogicalCollection::numberDocuments()
Checklist
Related Information