Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23299

Sql. Fix invalid inflight transaction tracking.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • sql

    Description

      PartitionScanSubscription may unexpectedly trigger `inflightBatchRequestTracker.onRequestEnd()` twice in case of batch processing error. in `scanBatch` method.

      The first call is expected and happens on happy-path after getting a successful response.
      But if batch processing failed with error (e.g. `subscriber::onNext`), then we get into unhappy-path and trigger `inflightBatchRequestTracker.onRequestEnd()` once again, which violates the contract.

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              amashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m