Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-54863

Support noCursorTimeout for listCollections command

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization 2021-03-22, Query Optimization 2021-04-05

      https://docs.mongodb.com/manual/reference/command/listCollections/ doesn't have a way to specify noCursorTimeout.

      In CLOUDP-51006, our use case is to loop through all the collections and process them as we go. However processing each collection might take a long time so we might get hit with a cursor idle timeout.

      As a workaround today, we are storing all the collections in memory. But that's inefficient for customers with a huge amount of collections.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            lawrence.tan@mongodb.com Lawrence Tan (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: