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

simplify ClientCursor lifecycle

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • None
    • Query

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: