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
kvserver: call cb.onEnqueueResult in defer on errors
Previously, cb.onEnqueueResult was invoked inline before returning errors, which
was less robust and required explicit calls. This commit refactors the code to
invoke onEnqueueResult in a defer statement when returning a non-nil error. Note
that the function may still call cb.onEnqueueResult with non-nil errors even
when no error is returned, since we want visibility into those cases as well.
0 commit comments