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

A bunch of records cannot be deleted using applyWrites: get HTTP 500 in return #2370

Open
imax9000 opened this issue Mar 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@imax9000
Copy link

I have a number of records that applyWrites fails to delete. When they appear in a request with other writes, the whole request fails (obviously). They also fail to get deleted when sending just one write.

All of them are currently live, as in getRecord successfully returns them.

Did not try to delete them using deleteRecord in case that succeeds - so you have specimens to use for debugging.

File with record URIs: stuck-records.txt

@imax9000 imax9000 added the bug Something isn't working label Mar 28, 2024
@imax9000
Copy link
Author

imax9000 commented Apr 3, 2024

Will try other ways to delete them in the next couple days.

@imax9000
Copy link
Author

deleteRecord and putRecord also don't work.

putRecord with the identical content succeeds, but probably only because it compares the content before writing. If I change any bit of the record - it also fails with 500.

It seems like these records ended up in a shard(s) that became read-only at some point, and there's no mechanism to move them off that shard.

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

No branches or pull requests

1 participant