/[Apache-SVN]/couchdb/trunk/src/couchdb/couch_db.hrl
ViewVC logotype

Log of /couchdb/trunk/src/couchdb/couch_db.hrl

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 882941 - (view) (annotate) - [select for diffs]
Modified Sat Nov 21 17:01:50 2009 UTC (4 days, 21 hours ago) by kocolosk
File length: 5386 byte(s)
Diff to previous 816043 (colored)
upgrade mochiweb to r113, use hooks instead of forking mochijson2. COUCHDB-474

Revision 816043 - (view) (annotate) - [select for diffs]
Modified Thu Sep 17 04:04:46 2009 UTC (2 months, 1 week ago) by davisp
File length: 5376 byte(s)
Diff to previous 815927 (colored)
Fixes COUCHDB-396

Makes the stats calculated over a moving window isntead of calculated for non-overlapping timeframes. This should make trend monitoring more robust.

Thanks once again to Bob Dionne for double checking this.


Revision 815927 - (view) (annotate) - [select for diffs]
Modified Wed Sep 16 19:05:08 2009 UTC (2 months, 1 week ago) by damien
File length: 5326 byte(s)
Diff to previous 814893 (colored)
Single line http request when log=info

Revision 814893 - (view) (annotate) - [select for diffs]
Modified Mon Sep 14 22:33:05 2009 UTC (2 months, 1 week ago) by damien
File length: 5316 byte(s)
Diff to previous 804007 (colored)
View refactoring and addition of raw collationoption. Significant performance improvements in view indexer.

Revision 804007 - (view) (annotate) - [select for diffs]
Modified Thu Aug 13 19:39:30 2009 UTC (3 months, 1 week ago) by kocolosk
File length: 5225 byte(s)
Diff to previous 803690 (colored)
trivial change to replicator request headers.  Closes COUCHDB-419

Revision 803690 - (view) (annotate) - [select for diffs]
Modified Wed Aug 12 20:07:06 2009 UTC (3 months, 2 weeks ago) by kocolosk
File length: 5225 byte(s)
Diff to previous 803663 (colored)
rollback _conflicts view patch

Revision 803663 - (view) (annotate) - [select for diffs]
Modified Wed Aug 12 18:48:25 2009 UTC (3 months, 2 weeks ago) by jan
File length: 5246 byte(s)
Diff to previous 802887 (colored)
add native /db/_conflicts view, patch by Adam Kocolosk, closes COUCHDB-462

Revision 802887 - (view) (annotate) - [select for diffs]
Modified Mon Aug 10 18:37:28 2009 UTC (3 months, 2 weeks ago) by kocolosk
File length: 5225 byte(s)
Diff to previous 802145 (colored)
switch pause to milliseconds

Revision 802145 - (view) (annotate) - [select for diffs]
Modified Fri Aug 7 19:12:39 2009 UTC (3 months, 2 weeks ago) by kocolosk
File length: 5223 byte(s)
Diff to previous 800938 (colored)
ibrowse wrapper for replicator, will replace do_http_request

Revision 800938 - (view) (annotate) - [select for diffs]
Modified Tue Aug 4 19:50:46 2009 UTC (3 months, 3 weeks ago) by damien
File length: 4805 byte(s)
Diff to previous 795232 (colored)
Initial check-in of OAuth and cookie authentication.

Revision 795232 - (view) (annotate) - [select for diffs]
Modified Fri Jul 17 21:33:41 2009 UTC (4 months, 1 week ago) by damien
File length: 4795 byte(s)
Diff to previous 794057 (colored)
Deterministic revids, MD5 checking of documents, added tracking of rev when an attachment is edited to allow attachment level replication.

Revision 794057 - (view) (annotate) - [select for diffs]
Modified Tue Jul 14 20:21:39 2009 UTC (4 months, 1 week ago) by nslater
File length: 4831 byte(s)
Diff to previous 792771 (colored)
wheeeeeeee

Revision 792771 - (view) (annotate) - [select for diffs]
Modified Fri Jul 10 00:59:36 2009 UTC (4 months, 2 weeks ago) by jchris
File length: 4833 byte(s)
Diff to previous 791350 (colored)
Apply patch from Benoit Chesneau's COUCHDB-404

Restores 0.8-style /db/_view view urls and adds an option to render views and documents as other formats like:

/db/docid?show=blog/post
/db/_view/blog/posts?list=index

We're retaining the longer _design/appname paths as well because that resource is valuable for reverse proxies and rewriters.


Revision 791350 - (view) (annotate) - [select for diffs]
Modified Mon Jul 6 00:33:50 2009 UTC (4 months, 3 weeks ago) by nslater
File length: 4817 byte(s)
Diff to previous 791140 (colored)
trimmed trailing whitespace

Revision 791140 - (view) (annotate) - [select for diffs]
Modified Sat Jul 4 15:47:47 2009 UTC (4 months, 3 weeks ago) by jchris
File length: 4835 byte(s)
Diff to previous 786337 (colored)
Name view index files by their function hashes for no downtime deploys. Closes COUCHDB-218

Adds ability to switch view indexes on the fly by building the index from a "staging" design doc, and then COPYing the staging doc to the production doc's id. Since indexes are referenced by view definition, the new version of the production design doc will point immediately to the index files already built in staging.

Please use and give feedback.

Revision 786337 - (view) (annotate) - [select for diffs]
Modified Thu Jun 18 23:43:40 2009 UTC (5 months, 1 week ago) by davisp
File length: 4873 byte(s)
Diff to previous 778485 (colored)
Fixes COUCHDB-383 - Ignore extra URL parameters.

No one opposed the switch so here it is.


Revision 778485 - (view) (annotate) - [select for diffs]
Modified Mon May 25 19:52:28 2009 UTC (6 months ago) by damien
File length: 4893 byte(s)
Diff to previous 774180 (colored)
Merging new tail append storage into trunk. Upgrades are automatic, once opened by this version  old versions of CouchDB will not be able to open the files. As a precaution, you should back-up your production databases before upgrading.

Revision 774180 - (view) (annotate) - [select for diffs]
Modified Wed May 13 03:33:31 2009 UTC (6 months, 2 weeks ago) by davisp
File length: 4909 byte(s)
Diff to previous 772406 (colored)
Closes COUCHDB-334 - Add JSONP support to CouchDB

Use JSONP by providing a ?callback=function_name URL paramter for any URL
returning JSON data.


Revision 772406 - (view) (annotate) - [select for diffs]
Modified Wed May 6 19:11:10 2009 UTC (6 months, 3 weeks ago) by damien
File length: 4889 byte(s)
Diff to previous 767543 (colored)
First cut at _changes api. Update the by_id and by_seq indexes to contain update seq numbers and pointers to bodies on disk, for use in the _changes api. This is a new file version, but the code can continue to serve the old 0.9 version without problems, though certain features in the _changes api will not be able to work. Upgrade to new file version (from 1 to 2) by compacting the file. Also fixed bugs with how the stats api tracks open databases.

Revision 767543 - (view) (annotate) - [select for diffs]
Modified Wed Apr 22 14:41:47 2009 UTC (7 months ago) by davisp
File length: 4843 byte(s)
Diff to previous 766347 (colored)
Refactoring the view URL parameter parsing.


Revision 766347 - (view) (annotate) - [select for diffs]
Modified Sat Apr 18 16:16:26 2009 UTC (7 months, 1 week ago) by davisp
File length: 4916 byte(s)
Diff to previous 755926 (colored)
Fixes COUCHDB-322

Specifying reduce=true now returns a 400 error when the view has no reduce
function.


Revision 755926 - (view) (annotate) - [select for diffs]
Modified Thu Mar 19 11:20:36 2009 UTC (8 months, 1 week ago) by jchris
File length: 4892 byte(s)
Diff to previous 753448 (colored)
inclusive_end query option for views, defaults to true (does not change current behavior). inclusive_end=false treats endkey as an open interval. 
this is progress on COUCHDB-194. I think it is enough for 0.9, we can discuss switching the default behavior, and adding a similar option for startkey.

Revision 753448 - (view) (annotate) - [select for diffs]
Modified Fri Mar 13 22:15:34 2009 UTC (8 months, 2 weeks ago) by jchris
File length: 4844 byte(s)
Diff to previous 751813 (colored)
Commit Damien's rep_security branch to trunk. 
Changes bulk_docs conflict checking. 
Breaks file format, see mailing list for data upgrade procedure, or
http://wiki.apache.org/couchdb/Breaking_changes

Revision 751813 - (view) (annotate) - [select for diffs]
Modified Mon Mar 9 19:52:54 2009 UTC (8 months, 2 weeks ago) by jchris
File length: 4777 byte(s)
Diff to previous 750565 (colored)
merge design doc resource branch. breaking changes to _view query paths. 
closes COUCHDB-280

Revision 750565 - (view) (annotate) - [select for diffs]
Modified Thu Mar 5 19:47:25 2009 UTC (8 months, 3 weeks ago) by jchris
File length: 4752 byte(s)
Diff to previous 747679 (colored)
allow multi-key POST requests for _list. 
closes COUCHDB-269. thanks Jason Davies

Revision 747679 - (view) (annotate) - [select for diffs]
Modified Wed Feb 25 06:34:03 2009 UTC (9 months ago) by jchris
File length: 4726 byte(s)
Diff to previous 745076 (colored)
Support for reduce views in _list. closes COUCHDB-260. Thanks Jason Davies.

Revision 745076 - (view) (annotate) - [select for diffs]
Modified Tue Feb 17 14:01:51 2009 UTC (9 months, 1 week ago) by damien
File length: 4653 byte(s)
Diff to previous 744747 (colored)
Put file ref_counting into it's own module, to make the speed of opening an already open database faster (by not waiting on file pending operations, particularly fsync).

Revision 744747 - (view) (annotate) - [select for diffs]
Modified Sun Feb 15 20:36:53 2009 UTC (9 months, 1 week ago) by jchris
File length: 4633 byte(s)
Diff to previous 744240 (colored)
View etags are now provided. See note in the source about how they could be more efficient. Changes arity on make_view_fold_fun etc. Closes COUCHDB-4

Revision 744240 - (view) (annotate) - [select for diffs]
Modified Fri Feb 13 20:52:28 2009 UTC (9 months, 1 week ago) by jchris
File length: 4633 byte(s)
Diff to previous 739866 (colored)
apply COUCHDB-252.
Allow _list functions to signal that iteration of the view should cease.
Thanks davisp.

Revision 739866 - (view) (annotate) - [select for diffs]
Modified Sun Feb 1 22:21:09 2009 UTC (9 months, 3 weeks ago) by jchris
File length: 4615 byte(s)
Diff to previous 736876 (colored)
Added options member to design docs. Currently the only option is include_designs (views can now run over design docs as well if they need to), the default is false, which is the current behavior. Thanks davisp for the original patch. Closes COUCHDB-156

Revision 736876 - (view) (annotate) - [select for diffs]
Modified Fri Jan 23 00:53:05 2009 UTC (10 months ago) by jchris
File length: 4592 byte(s)
Diff to previous 736837 (colored)
View list functions can stream views in any format. See list_views test for details.

Revision 736837 - (view) (annotate) - [select for diffs]
Modified Thu Jan 22 22:42:45 2009 UTC (10 months ago) by jchris
File length: 4405 byte(s)
Diff to previous 735875 (colored)
change update=false to stale=ok

Revision 735875 - (view) (annotate) - [select for diffs]
Modified Mon Jan 19 23:31:51 2009 UTC (10 months ago) by damien
File length: 4405 byte(s)
Diff to previous 733174 (colored)
tests for fix to COUCHDB-215, and changing of how max_dbs_open setting is handled at runtime.

Revision 733174 - (view) (annotate) - [select for diffs]
Modified Fri Jan 9 22:20:48 2009 UTC (10 months, 2 weeks ago) by damien
File length: 4533 byte(s)
Diff to previous 731618 (colored)
Added support so clients can detect if a server has potentially lost commits after multiple updates, like during bulk imports and so the replicator can detect lost commits on remote replications.

Revision 731618 - (view) (annotate) - [select for diffs]
Modified Mon Jan 5 17:03:02 2009 UTC (10 months, 2 weeks ago) by damien
File length: 4450 byte(s)
Diff to previous 731452 (colored)
Fixed views to not commit index headers if they are ahead of what has been fully committed to the database. Also, the index headers are now committed async, improving response times updating views.

Revision 731452 - (view) (annotate) - [select for diffs]
Modified Mon Jan 5 05:42:52 2009 UTC (10 months, 3 weeks ago) by damien
File length: 4416 byte(s)
Diff to previous 731159 (colored)
Delayed commit patch. Allows documents to be saved immediately but fully committed asynchronously. On by default, to fully commit documents synchronously, use X-Couch-Full-Commit=true in the http header. We still needs to prevent committing view indexes ahead of data and to detect when a server has crashed causing potentially lost updates during remote replication (fixed by retrying the incremental replication).

Revision 731159 - (view) (annotate) - [select for diffs]
Modified Sun Jan 4 02:28:08 2009 UTC (10 months, 3 weeks ago) by jchris
File length: 4363 byte(s)
Diff to previous 726143 (colored)
change count to limit in view query params

Revision 726143 - (view) (annotate) - [select for diffs]
Modified Fri Dec 12 22:32:42 2008 UTC (11 months, 2 weeks ago) by joes
File length: 4363 byte(s)
Diff to previous 725909 (colored)
move couchdb to tlp

Revision 725909 - (view) (annotate) - [select for diffs]
Modified Fri Dec 12 05:23:37 2008 UTC (11 months, 2 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 4363 byte(s)
Diff to previous 724946 (colored)
modifications to view server to keep the file descriptor open for the life of the view group.

Revision 724946 - (view) (annotate) - [select for diffs]
Modified Wed Dec 10 01:13:17 2008 UTC (11 months, 2 weeks ago) by jchris
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 4346 byte(s)
Diff to previous 719160 (colored)
view group state gen_server. thanks damien and davisp.

Revision 719160 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 04:42:43 2008 UTC (12 months ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 3845 byte(s)
Diff to previous 718311 (colored)
Nearly completed security/validation work. Still needs replication testing.

Revision 718311 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 18:18:51 2008 UTC (12 months, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 3279 byte(s)
Diff to previous 713132 (colored)
More security and validation work. Still incomplete.

Revision 713132 - (view) (annotate) - [select for diffs]
Modified Tue Nov 11 19:45:50 2008 UTC (12 months, 2 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 3265 byte(s)
Diff to previous 706848 (colored)
Check in of initial validation and authorization work. This work is incomplete, as there is not yet any way of restricting who can update the design docs.

Revision 706848 - (view) (annotate) - [select for diffs]
Modified Wed Oct 22 03:08:53 2008 UTC (13 months ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 3220 byte(s)
Diff to previous 701847 (colored)
First check-in of admin http authentication and authorization.

Revision 701847 - (view) (annotate) - [select for diffs]
Modified Sun Oct 5 18:54:36 2008 UTC (13 months, 3 weeks ago) by jchris
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 3147 byte(s)
Diff to previous 701173 (colored)
include_docs option adds a doc member to view rows with the latest _rev of the document (or the _rev specified in the row value)

Revision 701173 - (view) (annotate) - [select for diffs]
Modified Thu Oct 2 16:06:10 2008 UTC (13 months, 3 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 3121 byte(s)
Diff to previous 694430 (colored)
HTTPd refactoring. Moved most code out of couch_httpd into associated modules (couch_httpd_view, couch_httpd_db, couch_httpd_misc_handlers). Also a fix to removed previous doc_by_seq index entries on compaction retry.

Revision 694430 - (view) (annotate) - [select for diffs]
Modified Thu Sep 11 19:26:09 2008 UTC (14 months, 2 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 2637 byte(s)
Diff to previous 690668 (colored)
Check-in of document purge functionality.

Revision 690668 - (view) (annotate) - [select for diffs]
Modified Sun Aug 31 09:43:41 2008 UTC (14 months, 3 weeks ago) by cmlenz
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 2667 byte(s)
Diff to previous 685975 (colored)
Merged json_term_changes branch back into trunk.

Revision 685975 - (view) (annotate) - [select for diffs]
Modified Thu Aug 14 17:47:24 2008 UTC (15 months, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 2557 byte(s)
Diff to previous 682560 (colored)
CouchDB performance work. Faster Btree updates and lookups.

Revision 682560 - (view) (annotate) - [select for diffs]
Modified Tue Aug 5 01:43:40 2008 UTC (15 months, 3 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 2599 byte(s)
Diff to previous 656861 (colored)
Added concurrent open db limit and a LRU cache for closing old databases when limit reached (configurable via MaxDbsOpen var in couch.ini). Refactored db update code in couch_db.erl into couch_db_updater.erl.

Revision 656861 - (view) (annotate) - [select for diffs]
Modified Thu May 15 21:51:22 2008 UTC (18 months, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 1926 byte(s)
Diff to previous 649948 (colored)
Incremental reduce first checkin. Warning! Disk format change.

Revision 649948 - (view) (annotate) - [select for diffs]
Modified Sun Apr 20 18:17:15 2008 UTC (19 months ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 1905 byte(s)
Diff to previous 642432 (colored)
Added proper UUID generation and changed the details of how way debug logging is done to now use a more effcient macro instead of a function call.

Revision 642432 - (view) (annotate) - [select for diffs]
Added Fri Mar 28 23:32:19 2008 UTC (19 months, 4 weeks ago) by cmlenz
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db.hrl
File length: 1475 byte(s)
Imported trunk.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2