[cros search service] Enforce correct ordering of async operations
If a client makes rapid index updates that are intrinsically async, there may be a race condition so that updates are not done in the right order. This cl checks ongoing updates and queue later updates when necessary. Bug: 1133931 Change-Id: I0edbf57f2039b8a4dc51b75292788f22464eef9e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2440320 Commit-Queue: Jia Meng <jiameng@chromium.org> Reviewed-by:Thanh Nguyen <thanhdng@chromium.org> Reviewed-by:
Andrew Moylan <amoylan@chromium.org> Cr-Commit-Position: refs/heads/master@{#812923}
Showing
Please register or sign in to comment