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

Move code related to ClientCursor into its own subdirectory

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • QE 2024-08-19, QE 2024-09-02, QE 2024-09-16

      As part of assigning code ownership via the OWNERS.yml files, we are finding examples of directories with lots of source files owned by various teams. It seems simpler if ownership is usually ascribed on a directory basis, which implies that we should be better organizing the code into directories along team ownership lines.

      This ticket proposes moving the following source files related to ClientCursor and cursor management into a new directory at path src/mongo/db/query/clientcursor owned entirely by the QueryExecution team:

      src/mongo/db/allocate_cursor_id.[h|cpp]
      src/mongo/db/clientcursor.[h|cpp]
      src/mongo/db/cursor_id.h
      src/mongo/db/cursor_manager.[h|cpp]
      src/mongo/db/cursor_manager_test.cpp
      src/mongo/db/cursor_server_params.[h|cpp|idl]
      src/mongo/db/generic_cursor.[h|idl]
      

      The implementer of this ticket should check whether there are additional ClientCursor-related files that should move as well. I would suggest keeping the structure of the libdeps graph unchanged even though the source code is moving.

            Assignee:
            jan.steemann@mongodb.com Jan Steemann
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: