-
Notifications
You must be signed in to change notification settings - Fork 185
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
Instrument Metadata class for memory measurement. #4760
Conversation
This pull request has been linked to Shortcut Story #40788: Instrument Metadata class for memory measurement. |
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.
Looks good overall, though there's a few changes needed.
4474b82
to
f709bd9
Compare
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.
Either lets get rid of the memory_tracker() getter on Group, or you hit me with the clue stick on where we need that.
Other than that minor bit, I'll approve once that's done.
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.
+1 after rebase and green CI
6998a44
to
db95636
Compare
This was introduced in #4760 where the client tries to load the group metadata when serializing the group metadata request to REST, which causes an infinite loop. The fix reverts to the correct behavior, where we don't try to load the metadata when serializing it from the client. --- TYPE: BUG DESC: Do not load group metadata when getting it from REST.
This was introduced in #4760 where the client tries to load the group metadata when serializing the group metadata request to REST, which causes an infinite loop. The fix reverts to the correct behavior, where we don't try to load the metadata when serializing it from the client. --- TYPE: BUG DESC: Do not load group metadata when getting it from REST.
This was introduced in #4760 where the client tries to load the group metadata when serializing the group metadata request to REST, which causes an infinite loop. The fix reverts to the correct behavior, where we don't try to load the metadata when serializing it from the client. --- TYPE: BUG DESC: Do not load group metadata when getting it from REST.
This was introduced in #4760 where the client tries to load the group metadata when serializing the group metadata request to REST, which causes an infinite loop. The fix reverts to the correct behavior, where we don't try to load the metadata when serializing it from the client. --- TYPE: BUG DESC: Do not load group metadata when getting it from REST. (cherry picked from commit 07b26fb)
Add
tdb::pmr::map
wrapper as an alias forstd::map
. Migrate classMetadata
to use scoped allocators for memory tracking.TYPE: NO_HISTORY
DESC: Instrument Metadata class for memory measurement. Addition of tdb::pmr::map wrapper.