Zoekt: Potential race condition on usable_storage_bytes between planning and provisioning

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Background

During the zoekt rollout, we find nodes according to usable_storage_bytes. But usable_storage_bytes might get changed between the Zoekt::Provisioning and Zoekt::Planning. In this case, we might get a race condition on usable_storage_bytes. I have created this issue just to keep thin on the Radar. We have not found this issue yet.

Proposal

Edited by 🤖 GitLab Bot 🤖