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

Getmore tells out real reason when collection was dropped due to rename

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.9
    • Component/s: Querying
    • None

      Hi,

      Now a getMore request will tells out the real reason that the collection was dropped during getMore calls. But if the collection was dropped due to a renameCollection with dropTarget option was set, it will only return out a cursor not found error. Can we also tell out this reason so that user can know what really happens. The attached patch can simply do this, pls have a look. Thanks!

            Assignee:
            Unassigned Unassigned
            Reporter:
            zhcn381 CenZheng
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: