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

simplify ClientCursor lifecycle

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query

      Currently there are a multiple ways to yield, hold a pointer to a client cursor, delete/erase a client cursor, etc and in some cases these alternative routines have different nonobvious properties. I think some of these implementations can be unified and their operations can be simplified.

      Also the current implementation will explicitly delete a ClientCursor object once it becomes invalid, often leaving dangling invalid pointers that must be handled properly. This can make yielding and other ClientCursor operations more difficult to implement than necessary.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: