-
Notifications
You must be signed in to change notification settings - Fork 409
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
Add partial support for collStats
, dbStats
and dataSize
#2322
Conversation
Partially reverts FerretDB#1317 / FerretDB#1359. Refs FerretDB#1346.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2322 +/- ##
==========================================
- Coverage 71.72% 63.97% -7.76%
==========================================
Files 387 387
Lines 18446 18496 +50
==========================================
- Hits 13230 11832 -1398
- Misses 4163 5765 +1602
+ Partials 1053 899 -154
... and 55 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
I checked how it works with some examples from https://github.com/FerretDB/dance/tree/main/dumps:
|
collStats
, dbStats
and dataSize
@AlekSi please review and remove "do not merge" label |
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.
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.
Fixed |
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.
LGTM, can't approve "my own" PR
v1.0.0 https://github.com/FerretDB/FerretDB/releases/tag/v1.0.0 2023-04-03 We are delighted to announce the release of FerretDB 1.0 GA! * Support `$sum` accumulator of `$group` aggregation by @chilagrow in FerretDB#2292 * Implement `createIndexes` command by @rumyantseva in FerretDB#2244 * Add basic `getMore` command by @AlekSi in FerretDB#2309 * Implement `dropIndexes` command by @chilagrow in FerretDB#2313 * Implement `$limit` aggregation pipeline stage by @noisersup in FerretDB#2270 * Add partial support for `collStats`, `dbStats` and `dataSize` by @AlekSi in FerretDB#2322 * Implement `$skip` aggregation pipeline stage by @w84thesun in FerretDB#2310 * Implement `$unwind` aggregation pipeline stage by @noisersup in FerretDB#2294 * Support `count` and `storageStats` fields in `$collStats` aggregation pipeline stage by @rumyantseva in FerretDB#2338 * Fix dot notation negative index errors by @w84thesun in FerretDB#2246 * Apply `skip` before `limit` by @AlekSi in FerretDB#2351 * Update supported command for `$sum` aggregation operator by @chilagrow in FerretDB#2318 * Add supported shells and GUIs images by @AlekSi in FerretDB#2323 * Publish FerretDB v0.9.4 blog post by @Fashander in FerretDB#2268 * Use dashes instead of underscores or spaces by @AlekSi in FerretDB#2329 * Update documentation sidebar by @Fashander in FerretDB#2347 * Update FerretDB descriptions by @AlekSi in FerretDB#2281 * Improve flags documentation by @AlekSi in FerretDB#2331 * Describe supported fields for `$collStats` aggregation stage by @rumyantseva in FerretDB#2352 * Use iterators for `sort`, `limit`, `skip`, and `projection` by @AlekSi in FerretDB#2254 * Bump dependencies by @AlekSi in FerretDB#2307 * Improve resource tracking by @AlekSi in FerretDB#2319 * Add tests for `find`'s and `count`'s `skip` argument by @w84thesun in FerretDB#2325 * Close iterator properly by @AlekSi in FerretDB#2333 * Improve large numbers initialization in test data by @noisersup in FerretDB#2324 * Ignore `unique` index option for now by @AlekSi in FerretDB#2350 All closed issues and pull requests: https://github.com/FerretDB/FerretDB/milestone/39?closed=1 All commits: FerretDB/FerretDB@v0.9.4...v1.0.0
v1.0.0 https://github.com/FerretDB/FerretDB/releases/tag/v1.0.0 2023-04-03 We are delighted to announce the release of FerretDB 1.0 GA! * Support `$sum` accumulator of `$group` aggregation by @chilagrow in FerretDB#2292 * Implement `createIndexes` command by @rumyantseva in FerretDB#2244 * Add basic `getMore` command by @AlekSi in FerretDB#2309 * Implement `dropIndexes` command by @chilagrow in FerretDB#2313 * Implement `$limit` aggregation pipeline stage by @noisersup in FerretDB#2270 * Add partial support for `collStats`, `dbStats` and `dataSize` by @AlekSi in FerretDB#2322 * Implement `$skip` aggregation pipeline stage by @w84thesun in FerretDB#2310 * Implement `$unwind` aggregation pipeline stage by @noisersup in FerretDB#2294 * Support `count` and `storageStats` fields in `$collStats` aggregation pipeline stage by @rumyantseva in FerretDB#2338 * Fix dot notation negative index errors by @w84thesun in FerretDB#2246 * Apply `skip` before `limit` by @AlekSi in FerretDB#2351 * Update supported command for `$sum` aggregation operator by @chilagrow in FerretDB#2318 * Add supported shells and GUIs images by @AlekSi in FerretDB#2323 * Publish FerretDB v0.9.4 blog post by @Fashander in FerretDB#2268 * Use dashes instead of underscores or spaces by @AlekSi in FerretDB#2329 * Update documentation sidebar by @Fashander in FerretDB#2347 * Update FerretDB descriptions by @AlekSi in FerretDB#2281 * Improve flags documentation by @AlekSi in FerretDB#2331 * Describe supported fields for `$collStats` aggregation stage by @rumyantseva in FerretDB#2352 * Use iterators for `sort`, `limit`, `skip`, and `projection` by @AlekSi in FerretDB#2254 * Bump dependencies by @AlekSi in FerretDB#2307 * Improve resource tracking by @AlekSi in FerretDB#2319 * Add tests for `find`'s and `count`'s `skip` argument by @w84thesun in FerretDB#2325 * Close iterator properly by @AlekSi in FerretDB#2333 * Improve large numbers initialization in test data by @noisersup in FerretDB#2324 * Ignore `unique` index option for now by @AlekSi in FerretDB#2350 All closed issues and pull requests: https://github.com/FerretDB/FerretDB/milestone/39?closed=1 All commits: FerretDB/FerretDB@v0.9.4...v1.0.0
Description
Partially reverts #1317 / #1359.
Refs #1346.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Assignee, Labels, Project and project's Sprint fields.