Simplify `RangeDeleterService::registerTask` by removing `blockUntilRegistered`

XMLWordPrintableJSON

    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, RangeDeleterService::registerTask is using the blockUntilRegistered promise to "block" the future chain and invalidate it when trying to schedule a duplicated task.

      Purpose of this ticket is to remove the blockUntilRegistered promise and replace the insert in the set with the following:

      • To know if the element is already present, checking the info returned by lower_bound
      • If not present
        • Create the future chain
        • Emplace it in the set using the hint returned by lower_bound to

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: