Skip to content

Conversation

gribnoysup
Copy link
Collaborator

@gribnoysup gribnoysup commented Jun 20, 2023

We're calculating the doc size using bsonSize projection and storing this info on the HadronDocument. The value is then used when rendering the card action group

image

@github-actions github-actions bot added the feat label Jun 20, 2023
@gribnoysup gribnoysup added the feature flagged PRs labeled with this label will not be included in the release notes of the next release label Jun 20, 2023
Copy link
Contributor

@himanshusinghs himanshusinghs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing. I didn't know before that we could use the $bsonSize like projections also in normal find queries.

@gribnoysup
Copy link
Collaborator Author

Something that @addaleax suggested, does mean that we have some additional limitations for providing this insight, but ultimately this probably makes sense

@gribnoysup gribnoysup merged commit bfb9cbb into main Jun 21, 2023
@gribnoysup gribnoysup deleted the compass-6837-bloated-docs branch June 21, 2023 09:59
gribnoysup added a commit that referenced this pull request Jun 30, 2023
gribnoysup added a commit that referenced this pull request Jun 30, 2023
gribnoysup added a commit that referenced this pull request Jun 30, 2023
…list COMPASS-6837" (#4605)

Revert "feat(compass-crud): add bloated docs insight to the document list COMPASS-6837 (#4566)"

This reverts commit bfb9cbb.
@gribnoysup gribnoysup restored the compass-6837-bloated-docs branch July 4, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat feature flagged PRs labeled with this label will not be included in the release notes of the next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants