Future continuations must capture vector clock as shared pointer

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0, 6.0.15, 7.0.8, 5.0.27, 7.3.2
    • Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 7.3.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v7.3, v7.0, v6.0, v5.0
    • CAR Team 2024-04-01
    • 7
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      All vector clock related future chains capture a non-shared reference to this (e.g. here or here). This can be problematic when a continuation executes during shutdown because the vector clock may be cleared up before a thread tries to access it.

      The solution will be to always pass "this, self = shared_from_this()" to continuations.

              Assignee:
              Wolfee Farkas
              Reporter:
              Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: