[COMPASS-4906] Timeseries document count not available with driver v4 Created: 25/Jun/21  Updated: 29/Oct/23  Resolved: 30/Jun/21

Status: Closed
Project: Compass
Component/s: Collection, Import/Export
Affects Version/s: None
Fix Version/s: 1.27

Type: Bug Priority: Major - P3
Reporter: Maurizio Casimirri Assignee: Rhys Howell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to COMPASS-4537 Export Collection feature is ignoring... Closed
Epic Link: COMPASS-4391
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Firenze

 Description   

The count of documents with timeseries is N/A with the driver v4. That is cause estimatedDocumentCount was moved to an aggregation, now we get:

```
PlanExecutor error during aggregation :: caused by :: Namespace aa.ts2 is a timeseries collection
```



 Comments   
Comment by Githook User [ 01/Jul/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(import-export): Use query document count in export COMPASS-4537, COMPASS-4906 (#2307)

  • temp commit
  • Make an import and an export store to avoid double listening, show correct count, fix showing undefined for filter
  • Code cleanup, better comments
Comment by Githook User [ 01/Jul/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(databases-collections): show `-` instead of `0` for collection document count in collections table COMPASS-4906 (#2305)
Branch: 1.27-releases
https://github.com/mongodb-js/compass/commit/25bd14179690f78176222a4838c2086e4e0e0f19

Comment by Githook User [ 01/Jul/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-collection-stats): hide collection stats on time-series collections COMPASS-4906 (#2304)
Branch: 1.27-releases
https://github.com/mongodb-js/compass/commit/1cfcd643e47df96f9e609690294ca3e21c60f273

Comment by Githook User [ 30/Jun/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(import-export): Use query document count in export COMPASS-4537, COMPASS-4906 (#2307)

  • temp commit
  • Make an import and an export store to avoid double listening, show correct count, fix showing undefined for filter
  • Code cleanup, better comments
Comment by Githook User [ 29/Jun/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(databases-collections): show `-` instead of `0` for collection document count in collections table COMPASS-4906 (#2305)
Branch: main
https://github.com/mongodb-js/compass/commit/25bd14179690f78176222a4838c2086e4e0e0f19

Comment by Githook User [ 29/Jun/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(compass-collection-stats): hide collection stats on time-series collections COMPASS-4906 (#2304)
Branch: main
https://github.com/mongodb-js/compass/commit/1cfcd643e47df96f9e609690294ca3e21c60f273

Generated at Wed Feb 07 22:37:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.