temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Should not return Unavailable error when consistent query buffer is full.

Open yiminc opened this issue 2 years ago • 1 comments

This is due to worker not processing query fast enough (either is worker too slow or they are stuck), or it could also caused by concurrent queries (2 queries come at the same time). Should not be Unavailable error. https://github.com/temporalio/temporal/blob/a8d47d0ec03298040aa040fce7b9b8d7bba33c15/service/history/consts/const.go#L72

yiminc avatar Apr 20 '22 15:04 yiminc

We need some new type of error to indicate this is worker not keep up.

yiminc avatar Apr 22 '22 21:04 yiminc

We now returns ResourceExhaustedError.

yiminc avatar Aug 27 '23 20:08 yiminc