commit | 9b20e3863244bca3d0ea2ca44fec3659acf4eb54 | [log] [tgz] |
---|---|---|
author | Prudhvi Akhil Alahari <prudhvi.alahari@linaro.org> | Thu Mar 16 17:22:08 2023 +0530 |
committer | Yash Chaturvedi <yash.chaturvedi@linaro.org> | Fri Jun 02 10:40:40 2023 +0530 |
tree | 1a877126a20b9623acc252de2ef122b287651e30 | |
parent | 17f55c753bb1f3f9e70caa2cb0f00d477c2aebf5 [diff] |
Retry review on lock failures The review api is prone to lock failures as there will be a contention to lock the notedb ref. Retrying on lock failures will help mitigate this. Retries have already been implemented in REST API code path at a high enough layer (RestApiServlet) so that it applies for all REST APIs. But when invoking review api internally from a plugin won't enable the retires defined in RestApiServlet. Change-Id: Ifa9d9a80b1be56c755b7d248941a9404f84dc1a5