You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
156102: sql/colfetcher: make Pace() call conditional r=dt a=dt
Previously we relied on the nil-safe Pace() call being a no-op when called on nil a Pacer to make pacing conditional on the txn priority as that priority was used to decide to set Pacer to a non-nil value or not. However Pace() is free to elect to perform some form of pacing even when called on a nil Pacer (e.g. by delegating to the runtime or some global state) so the cFetcher should explicitly choose to call Pace() or not call it based on whether or not it wants to be paced, instead of relying on the behavior of Pace to change. This (lack of) contract when calling Pace() is now made explicit in the doc comment on Pace().
Release note: none.
Epic: none.
Co-authored-by: David Taylor <[email protected]>
0 commit comments