The timeout in the LockTimeout error message in Locker::lockGlobal is incorrect

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-03-02, CAR Team 2026-03-16
    • 1
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      Here is an example of an error message:

      "error":"LockTimeout: Unable to acquire ticket with mode '2' within a max lock request timeout of '1ms' milliseconds."
      

       
      The timeout is calculated as (Date_t::now() - beforeAcquire) but the message is created immediately so Date_t::now() is not the timestamp when the timeout occurs. It looks like timeout should be calculated as (deadline - beforeAcquire).

            Assignee:
            Rustam Gusein-zade
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: