iilyak commented on pull request #3363:
URL: https://github.com/apache/couchdb/pull/3363#issuecomment-810852468
I was unable to reproduce the issue on main without the patch. Using
database corruption method.
```
rr(couch_db).
Options = [{user_ctx, #user_ctx{roles = [<<"admin">>]}}, {interactive,
true}].
{ok, #{db_prefix := Prefix, tx := Tx} = Db} =
fabric2_db:create(<<"pr-3363">>, Options).
fabric2_fdb:transactional(Db, fun(#{tx := Tx}) ->
erlfdb:clear_range_startswith(Tx, Prefix) end).
```
```
curl -s -u adm:pass http://127.0.0.1:15984/pr-3363/_all_docs | jq '.'
{
"error": "unknown_error",
"reason": "badarg",
"ref": 1157647193
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]