Build range deleter service

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The range-deleter executor serves its purpose of ensuring that orphaned documents get eventually deleted but is not suited for more complex use cases given the "fire and forget" way to schedule tasks and the interconnection with metadata managers .

      Purpose of this ticket is to implement a RangeDeleterService that should at least fulfill the following requirements:

      • Being initialized/stopped on step-up/step-down
      • Keeping track of a list of ranges to be deleted and have a thread consuming it (rather than scheduling plenty of tasks on a mono-threaded executor)
      • Keep track of orphaned ranges with ongoing queries, not ready to be deleted (rather than having metadata managers tracking it separately)

            Assignee:
            [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: