Create hierarchy class for cancellable tokens for resharding

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ClusterScalability 2Feb-16Feb
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-113039 we want to create hierachies to prevent an excess of listeners from being created every time we call CancelableOperationContextFactory::makeOperationContext, which can cause callbacks that accumulate memory which cannot be freed. 

      This class should enable the child token to be canceled when the parent is canceled, and cleanup all child listeners when the parent is destroyed. 

            Assignee:
            David Chen
            Reporter:
            David Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: