Skip to content

Commit 190972f

Browse files
committed
Fix projection.
1 parent 1583e8a commit 190972f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/module-mongodb-storage/src/storage/implementation/MongoCompactor.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,9 @@ export class MongoCompactor {
533533
},
534534
{
535535
projection: {
536-
_id: 1
536+
_id: 1,
537+
estimate_since_compact: 1,
538+
compacted_state: 1
537539
},
538540
sort: {
539541
'estimate_since_compact.count': -1

0 commit comments

Comments
 (0)