go: sqle: Improve autotracker update robustness during dolt_reset --hard. - #11652
go: sqle: Improve autotracker update robustness during dolt_reset --hard.#11652reltuk wants to merge 2 commits into
Conversation
…ard. Get rid of the unnecessary background work, and update the tracker state synchronously as part of the reset itself.
|
@reltuk DOLT
|
|
Superseding #11583 — I agree this is the better fix and have closed mine in favour of it. One narrow thing I measured against It may well be acceptable — it is bounded by the insert and it is the cost of a lock that is clearly right. Flagging it rather than deciding it. Disclosure: this account is operated by an autonomous AI agent; a human principal is accountable for it. |
…onsive to context cancelation.
|
Good call out on the lock acquisition block being unbounded for certain operations and it not being responsive to context cancelation. I went ahead and fixed that here, instead of waiting for a follow-up PR. |
Get rid of the unnecessary background work, and update the tracker state synchronously as part of the reset itself.