summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-19Track and report size of live data in DBs and viewsRobert Dionne
The #full_doc_info record is extended to include the summed size of leaf revision document bodies and their attachments. Document sizes are computed on update; accurate sizes of existing databases and view groups are only available after compaction. The document size is defined to be the size of the binary representation of #doc.body. The att_len field is used for attachments; attachments that are shared by multiple revisions of a document are only counted once. The size of a view index is defined as the size of all keys, values, and reductions accessible from the current root of the tree. BugzID: 9995
2011-04-19BugzID:9995 Add a tree foldl function to couch_key_tree.Robert Dionne
This function can be used by many of the existing functions in couch_key_tree that need to walk the revision tree, apply a function at each branch or leaf, and then accumulate results.
2011-04-18Monitor Fd after creating DBRobert Dionne
This patch has the side effect of fixing a crash of the _users DB after the first minute of running. The crash occurs because BigCouch presumes that couch_stats_collector is monitoring the file descriptor, but nothing prevents the supervisor from starting couch_auth_cache (and thus opening the _users DB) before couch_stats_collector is started. The start order is determined by the ordering of the children from the config file in couch_config's ets set. Closes #39 BugzID: 11854
2011-04-13Export make_doc/5 for mem3 replicatorAdam Kocoloski
BugzID: 12043
2011-04-12record ISO of install media.Robert Newson
2011-04-08add Solaris build support.Robert Newson
2011-03-31Add a catchall 'extra' field to #view_query_argsAdam Kocoloski
Thanks henrik14091, mc_ for the report
2011-03-19BugzID: 11976 return dbname, not shard name, in userCtxRobert Newson
2011-03-14Update rebar to 2e1b4daAdam Kocoloski
2011-03-14Fall back to local DB in open_db_group/2Adam Kocoloski
2011-03-14clarify which nodes are BigCouch nodes.Robert Newson
2011-02-27Update dependencies during configureAdam Kocoloski
The explicit call to update-deps is required as of 2a969e, which updated rebar to 2cff499.
2011-02-25Handle empty result set correctly in _statsAdam Kocoloski
BugzID: 11498
2011-02-25update rebar to 90d2ce5ejoewilliams
2011-02-25Improve batching of writes in view updaterAdam Kocoloski
This patch causes the view_updater to wait until either a minimum number of items or a maximum process memory size has been reached before committing the changes to disk. See COUCHDB-700 for discussion BugzID: 11885
2011-02-25Make couch_view_updater amenable to hot upgradesAdam Kocoloski
2011-02-24Improve the way we generate the match spec for a #db{}Adam Kocoloski
2011-02-22Update rebar to 2cff499Adam Kocoloski
2011-02-22Use smart HTTP URLs in rebar.configAdam Kocoloski
BugzID: 11842
2011-02-13Move new attachment_conflicts test to the overlayAdam Kocoloski
2011-02-11Switch dependency tracking back to dev modeAdam Kocoloski
2011-02-09Fix and simplify environment for etap testsAdam Kocoloski
BugzID: 11797
2011-02-07Update dependencies for 0.3.0 RC2Adam Kocoloski
2011-02-07comment out logging of calls to filter within _changes.Robert Dionne
2011-02-05Revert "fix replication checkpointing."Robert Newson
This reverts commit d2a9229c4f0a750d8e4191f60227572117a53ab7.
2011-02-05fix replication checkpointing.Robert Newson
2011-01-30Tagging 0.3.0 in reltool's configAdam Kocoloski
2011-01-30Freeze dependencies for 0.3 releaseAdam Kocoloski
2011-01-28COUCHDB-1047 - support inclusive_end with reduce callsRobert Newson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1064800 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28Revert "Add support for inclusive_end to fold_reduce, BugzID 11069"Adam Kocoloski
This reverts commit 5c3161d57b1d2d7953497c24be09112b6bcf71b6.
2011-01-27Set couch app vsn based on deviation from last Apache tagAdam Kocoloski
2011-01-26Remove a function clause that can never matchAdam Kocoloski
2011-01-26Pick up new patches to erlang-oauthAdam Kocoloski
BugzID: 11733
2011-01-20try fix to configureRobert Dionne
2011-01-20Merge CouchDB 1.0.2 release candidateAdam Kocoloski
Conflicts: Makefile.am acinclude.m4.in apps/couch/src/couch_db.erl apps/couch/src/couch_db_updater.erl apps/couch/src/couch_rep.erl apps/couch/src/couch_rep_reader.erl apps/couch/src/couch_view.erl apps/couch/src/couch_view_group.erl rel/overlay/etc/default.ini share/Makefile.am src/couchdb/couch_query_servers.erl src/ibrowse/Makefile.am src/ibrowse/ibrowse.app.in src/ibrowse/ibrowse.erl src/ibrowse/ibrowse_app.erl src/ibrowse/ibrowse_http_client.erl src/ibrowse/ibrowse_lb.erl src/ibrowse/ibrowse_lib.erl src/ibrowse/ibrowse_sup.erl src/ibrowse/ibrowse_test.erl src/mochiweb/mochijson2.erl test/etap/112-replication-missing-revs.t test/etap/113-replication-attachment-comp.t test/etap/140-attachment-comp.t
2011-01-20Make shards visible on backend, be more strict about namingAdam Kocoloski
BugzID: 10162
2011-01-20Tagging the 1.0.2 release.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/1.0.2@1061091 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20Fix bug that allows invalid UTF-8 after valid escapes.Paul Joseph Davis
Merges r991073 from trunk to branches/1.0.x Fixes COUCHDB-875 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1061088 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20Tagging the 1.0.2 release. Again.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/1.0.2@1061084 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20Update CHANGES and NEWS before the 1.0.2 release.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1061083 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18Avoid bug in rev tree logic during attachment uploadsAdam Kocoloski
This is a workaround for a bug in couch_key_tree, described in COUCHDB-902, which would cause uploads to fail with spurious conflicts. A patch for the key tree itself will be landing on trunk. Thanks Bob Dionne, Klaus Trainer. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1060149 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15clean up trailing whitespace, testing new buildRobert Dionne
2011-01-13Monitor sys_db file descriptor to keep it openAdam Kocoloski
A couch_file process occasionally checks to see if it is being monitored by any clients, and closes if not. Specifically, it checks for at least two monitoring processes, because it assumes couch_stats_collector is one of them. That assumption was wrong for sys_db files, so they would shut down after a minute and need to be reopened. BugzID: 11641
2011-01-12ensure write_streamed_attachment bails on negative LenLeft valuesRobert Newson
While Filipe has identified the fix for COUCHDB-1021, this patch will ensure that no other bug will cause negative values to be passed to this function, in turn leading to database inflation problems, etc. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1058058 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12Preserve purge metadata during compaction, thanks Mike LeddyAdam Kocoloski
Closes COUCHDB-1021 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1057988 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11Merged revision 1057875 from trunk:Filipe David Borba Manana
Make the doc multipart GET APIs always send attachments compressed For attachments that are stored in compressed (gzip) form, make sure the document multipart/related and multipart/mixed APIs don't decompress the attachments before sending them through the socket. This is to avoid multipart parser issues when the attachment's identity length is unknown or lost due to a local to local replication triggered by CouchDB versions up to 1.0.1 Closes COUCHDB-1022. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1057878 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11revert commit, fixed in wrong placeRobert Dionne
2011-01-11change default quorum to w=n to help issue #27 in api-testsRobert Dionne
2011-01-11Tagging 1.0.2. Again.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/1.0.2@1057443 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11Update version info before preparing the 1.0.2 release.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1057442 13f79535-47bb-0310-9956-ffa450edef68