couchdb icon indicating copy to clipboard operation
couchdb copied to clipboard

Seamless multi-master syncing database with an intuitive HTTP/JSON API, designed for reliability

Results 231 couchdb issues
Sort by recently updated
recently updated
newest added

**_This is a draft PR for now. Will need to add a few tests for it before it is ready_** This is the companion to open_doc_revs/4 which operates on a...

As part of optimizing the replicator and implementing [`_bulk_get`](https://github.com/apache/couchdb/pull/4144) support for it, noticed that `_bulk_get` is implement in the most inefficient way possible: it makes sequential [`fabric:open_revs/4`](https://github.com/apache/couchdb/blob/cb176a69ab6f9a6631826db7df3a133ab1fee3b4/src/chttpd/src/chttpd_db.erl#L2439) calls for each...

enhancement

When I make a [purge request](https://docs.couchdb.org/en/stable/api/database/misc.html) of 1000 documents, I get the following error logs: ``` [error] 2022-09-14T10:17:18.414447Z [email protected] -------- Purge checkpoint '_local/purge-mrview-12e57817980f2e08f39604bed34e44ad' not updated in 59 seconds in database...

[NOTE]: # ( ^^ Provide a general summary of the request in the title above. ^^ ) ## Summary Currently the request to purge a number of documents in the...

enhancement
needs-triage

## Overview This PR addresses a bug that is described in issue #2496 where posting an all docs query to a partition endpoint with keys that are not a part...

I am stress testing for a high availability environment of a Couch cluster on a Kubernetes cluster. The issue I am currently seeing is that when a Couch cluster node...

enhancement
needs-triage

On Linux when disks / filesystems fail they can be remounted as read-only. Disk writes through Erlang's file IO in that case returns an `{errors, erofs}` error. CouchDB doesn't handle...

bug
needs-triage

Hi Team, Currently I am facing the issue where the first time I upload a document and write to query all the information( or node details) are not coming up....

discussion

# Description Single node CouchDB under light load experiences this error occasionally: ``` [error] 2019-09-20T17:42:46.575000Z couchdb@localhost -------- rpc couch_db:update_docs/4 function_clause [{couch_att,flush_data,[{db,1,,"./data/shards/c0000000-dfffffff/reports.1544621486.couch",{couch_bt_engine,{st,"./data/shards/c0000000-dfffffff/reports.1544621486.couch",,#Ref,[before_header,after_header,on_file_open],{db_header,7,4854,0,{1051727219,{3,44,{size_info,322320088,255257436}},348445},{1052064637,47,348371},{382404,[],9691},nil,nil,303855,1000,,[{couchdb@localhost,0}],3359,1000},false,{btree,,{1051727219,{3,44,{size_info,322320088,255257436}},348445},#Fun,#Fun,undefined,#Fun,snappy},{btree,,{1052064637,47,348371},#Fun,#Fun,undefined,#Fun,snappy},{btree,,{382404,[],9691},#Fun,#Fun,undefined,nil,snappy},snappy,{btree,,nil,#Fun,#Fun,undefined,#Fun,snappy},{btree,,nil,#Fun,#Fun,undefined,#Fun,snappy}}},,nil,4854,,{user_ctx,,[],},[{,{[{,[,]}]}}],[],nil,nil,nil,[{default_security_object,[]},{create_if_missing,true}],undefined},stub,{att,,,737414,737414,,1,stub,identity}],[{file,"src/couch_att.erl"},{line,534}]},{couch_db,'-doc_flush_atts/2-lc$^0/1-0-',2,[{file,"src/couch_db.erl"},{line,1365}]},{couch_db,doc_flush_atts,2,[{file,"src/couch_db.erl"},{line,1365}]},{couch_db,'-update_docs/4-lc$^4/1-4-',2,[{file,"src/couch_db.erl"},{line,1184}]},{couch_db,'-update_docs/4-lc$^3/1-3-',2,[{file,"src/couch_db.erl"},{line,1183}]},{couch_db,update_docs,4,[{file,"src/couch_db.erl"},{line,1183}]},{fabric_rpc,with_db,3,[{file,"src/fabric_rpc.erl"},{line,334}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,140}]}] [error] 2019-09-20T17:42:46.575000Z couchdb@localhost c6691696a0 req_err(181230657) unknown_error : function_clause [,,,,,,]...

bug

## Summary CouchDB v3.2.2 does not provide RPM packages for Red Hat Enterprise Linux 9 at the moment, https://docs.couchdb.org/en/3.2.2/install/unix.html does not list RHEL 9 as supported as well. The [couchdb.repo](https://couchdb.apache.org/repo/couchdb.repo)...

enhancement
needs-triage