nickva opened a new issue, #5438:
URL: https://github.com/apache/couchdb/issues/5438

   Something like this reproduces it on a q=2 (default) dev cluster on main:
   
   
   ```
   #!/bin/bash
   
   # ./dev/run --admin=adm:pass -n1
   # "http" is httpie (https://httpie.io)
   
   DB=http://adm:pass@127.0.0.1:15984
   
   http -q delete $DB/db
   http -q put $DB/db
   
   
   
   http -b $DB/db/_purged_infos
   # {
   #     "purged_infos": []
   # }
   
   for DOC in {1..3000}; do
      echo "doc ${DOC}"
      REV=$(http put $DB/db/${DOC} a=b | jq -r '.rev')
      http -q post $DB/db/_purge ${DOC}:="[\"${REV}\"]"
   done
   
   # [error] 2025-02-19T18:04:57.333061Z node1@127.0.0.1 <0.18552.4> 187d99d1d9 
rpc couch_db:fold_purge_infos/4 {invalid_start_purge_seq,0} 
[{couch_bt_engine,fold_purge_infos,5,[{file,"src/couch_bt_engine.erl"},{line,611}]},{fabric_rpc,with_db,3,[{file,"src/fabric_rpc.erl"},{line,360}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,141}]}]
   # [error] 2025-02-19T18:04:57.333172Z node1@127.0.0.1 <0.18553.4> 187d99d1d9 
rpc couch_db:fold_purge_infos/4 {invalid_start_purge_seq,0} 
[{couch_bt_engine,fold_purge_infos,5,[{file,"src/couch_bt_engine.erl"},{line,611}]},{fabric_rpc,with_db,3,[{file,"src/fabric_rpc.erl"},{line,360}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,141}]}]
   
   http -b $DB/db/_purged_infos
   # {
   #     "purged_infos": [
   #         {
   #             "id": "doc1",
   #             "revs": [
   #                 "1-4b8a35d3f70a5962f86c6dd06ceb599c"
   #             ]
   #         },
   #         {
   #             "id": "doc2",
   #             "revs": [
   #                 "1-43ca4ac5f035a3057752750224f3c1d1"
   #             ]
   #         }
   #     ], ...
   # }
   
   ```
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to