[JAVA-1588] Support cursor in listCollections and listIndexes commands Created: 08/Dec/14 Updated: 27/May/22 Resolved: 23/Dec/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Command Operations |
| Affects Version/s: | None |
| Fix Version/s: | 2.13.0, 3.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Barrie Segal | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Server Compat: | 3.0 | ||||||||||||||||
| Description |
|
In order to support listing collections of databases with a large number of collections, the listCollections command that was introduced in 2.8 will need to be able to return a cursor. Otherwise, it will run into the 16mb document size limit. |
| Comments |
| Comment by Githook User [ 30/Jan/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Replaced ListCollectionNamesOperation with ListCollectionsOperation that returns a cursor |
| Comment by Githook User [ 30/Jan/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: ListIndexOperation now returns a cursor instead of a list |
| Comment by Jeffrey Yemin [ 29/Jan/15 ] |
|
2.13.0 has been released. Closing issue. |
| Comment by Githook User [ 23/Dec/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Replaced ListCollectionNamesOperation with ListCollectionsOperation that returns a cursor |
| Comment by Githook User [ 23/Dec/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: ListIndexOperation now returns a cursor instead of a list |
| Comment by Githook User [ 16/Dec/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Helpers for listCollections and listIndexes now handle responses containing cursor documents |
| Comment by Githook User [ 16/Dec/14 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: QueryResultIterator now relies on the namespace field in a cursor document instead of getting the namespace via the constructor. |