Call synchronous fetch for all refs in batch if any is marked as sync

The list of refs provided to the `batch-ref` endpoint can include both
async and sync refs. If any ref in batch matches `replication.syncRefs`
param all refs are fetched synchronously.

By fetching all references synchronously when any reference matches the
replication.syncRefs parameter, we ensure that the entire batch
operation is atomic. This helps maintain the consistency and integrity of
changes.

Bug: Issue 305984261
Change-Id: I66a5c7da6aa3a85eace4b8e34556f3e7502c6b0c
3 files changed
tree: f8b2c79d17470e9a808b9a3f2b9b7fd7143ca78f
  1. example-setup/
  2. src/
  3. .gitignore
  4. BUILD
  5. Jenkinsfile
  6. LICENSE