Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raft read barrier API is not a part of 2024.2 #4183

Open
Michal-Leszczynski opened this issue Dec 19, 2024 · 0 comments · May be fixed by #4185
Open

Raft read barrier API is not a part of 2024.2 #4183

Michal-Leszczynski opened this issue Dec 19, 2024 · 0 comments · May be fixed by #4185
Assignees
Labels
bug Something isn't working high

Comments

@Michal-Leszczynski
Copy link
Collaborator

Recently #3932 was fixed. It assumed that the raft read barrier API will be a part of the 2024.2 release, but that's not the case.
When running SCT against Scylla 2024.2 we get HTTP 404 when querying non-existence Scylla API:

{"L":"INFO","T":"2024-12-19T10:25:02.913Z","N":"scheduler.802de8bc","M":"Run ended with ERROR","task":"backup/332266ee-ef54-4a08-ba17-e7c50fc833f8","status":"ERROR","cause":"await schema: perform raft read barrier on desc schema host: RaftReadBarrierPost: agent [HTTP 404] Not found","duration":"7.766091055s","_trace_id":"fCrMJMEWSgCEBHZme-gVuQ"}

Unfortunately, because of scylladb/scylladb#16424, we need rely on version checks, so there is no way around it.
We could try to make empirically check if Scylla exposes given API endpoint by checking for HTTP 404 status code, but this probably wouldn't be really robust.

@Michal-Leszczynski Michal-Leszczynski added bug Something isn't working high labels Dec 19, 2024
@Michal-Leszczynski Michal-Leszczynski self-assigned this Dec 20, 2024
Michal-Leszczynski added a commit that referenced this issue Dec 20, 2024
It turns out that Scylla 2024.2 does not expose this API.
For now, it's not know which enterprise release will contain it.
Fixes #4183
Michal-Leszczynski added a commit that referenced this issue Dec 20, 2024
It turns out that Scylla 2024.2 does not expose this API.
For now, it's not know which enterprise release will contain it,
so we need to fall back to the CQL workaround.

Fixes #4183
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant