-
Notifications
You must be signed in to change notification settings - Fork 22
Tiered index info MOD-4315 #363
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
Conversation
GuyAv46
left a comment
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.
General comment:
How does the memory is being reported in tiered? 3 parts? Or is there also the sum of the parts?
| while (VecSimInfoIterator_HasNextField(infoIter)) { | ||
| VecSim_InfoField *infoFiled = VecSimInfoIterator_NextField(infoIter); | ||
| if (!strcmp(infoFiled->fieldName, VecSimCommonStrings::ALGORITHM_STRING)) { | ||
| VecSim_InfoField *infoField = VecSimInfoIterator_NextField(infoIter); |
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.
nice catch
Co-authored-by: GuyAv46 <47632673+GuyAv46@users.noreply.github.com>
Co-authored-by: GuyAv46 <47632673+GuyAv46@users.noreply.github.com>
Co-authored-by: GuyAv46 <47632673+GuyAv46@users.noreply.github.com>
| info.tieredInfo.frontendCommonInfo = frontendInfo.commonInfo; | ||
| info.tieredInfo.bfInfo = frontendInfo.bfInfo; | ||
|
|
||
| info.tieredInfo.backgroundIndexing = this->frontendIndex->indexSize() > 0; |
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.
I think we should expose the number of zombies in the tiered index info section as well (num marked deleted)
Describe the changes in the pull request
This PR implements the
infoandinfoIteratorcapabilities for tiered indexWhich issues this PR fixes
MOD-4967
Main objects this PR modified
VecSimIndexInfonow containscommonInfosection and each specilized index holds its own specielized info.Mark if applicable