Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update upload_confirmed_blocks() return value when no blocks to upload (
solana-labs#33861) upload_confirmed_blocks() states that it will return the passed in ending_slot when there are no blocks to upload. This is enforced in one early return but not the other. The result is that BigTableUploadService could potentially get stuck in a loop of trying to upload the same slot. While this case seems to be caused when an operator restarts their node without --no-snapshot-fetch (which can cause a gap in blockstore), we can still be friendly and allow them to break out of this loop.
- Loading branch information