/[Apache-SVN]/couchdb/trunk/src/couchdb/couch_db_updater.erl
ViewVC logotype

Log of /couchdb/trunk/src/couchdb/couch_db_updater.erl

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 883494 - (view) (annotate) - [select for diffs]
Modified Mon Nov 23 20:41:06 2009 UTC (8 hours, 47 minutes ago) by damien
File length: 33003 byte(s)
Diff to previous 882903 (colored)
Fix and tests for COUCHDB-292

Revision 882903 - (view) (annotate) - [select for diffs]
Modified Sat Nov 21 13:43:43 2009 UTC (2 days, 15 hours ago) by kocolosk
File length: 32330 byte(s)
Diff to previous 835981 (colored)
code improvements from tidier. Patch by Kostis Sagonas. COUCHDB-570

Revision 835981 - (view) (annotate) - [select for diffs]
Modified Fri Nov 13 20:38:45 2009 UTC (10 days, 8 hours ago) by damien
File length: 32285 byte(s)
Diff to previous 833219 (colored)
Initial check-in of APIs for multiple/related supported and incremental replication of only changed attachments. Needs more far more testing and to be hooked up the replicator.

Revision 833219 - (view) (annotate) - [select for diffs]
Modified Thu Nov 5 22:31:52 2009 UTC (2 weeks, 4 days ago) by damien
File length: 32280 byte(s)
Diff to previous 832550 (colored)
Minor reformating.

Revision 832550 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 20:51:04 2009 UTC (2 weeks, 6 days ago) by damien
File length: 32134 byte(s)
Diff to previous 814893 (colored)
Added batching of multiple updating requests, to improve throughput with many writers. Also removed the couch_batch_save module, now batch requests are simply saved async as immediately, batching with outhr updates if possible.

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: 30337 byte(s)
Diff to previous 814078 (colored)
View refactoring and addition of raw collationoption. Significant performance improvements in view indexer.

Revision 814078 - (view) (annotate) - [select for diffs]
Modified Fri Sep 11 23:23:07 2009 UTC (2 months, 1 week ago) by damien
File length: 30666 byte(s)
Diff to previous 795232 (colored)
Refactoring of endkey code in views and btrees. End key functionaility is now handled inside the btree code, simplfying calling code and making it trivial to add new collation options

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: 30630 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: 28882 byte(s)
Diff to previous 791350 (colored)
wheeeeeeee

Revision 791350 - (view) (annotate) - [select for diffs]
Modified Mon Jul 6 00:33:50 2009 UTC (4 months, 2 weeks ago) by nslater
File length: 28884 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, 2 weeks ago) by jchris
File length: 29179 byte(s)
Diff to previous 778485 (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 778485 - (view) (annotate) - [select for diffs]
Modified Mon May 25 19:52:28 2009 UTC (5 months, 4 weeks ago) by damien
File length: 29550 byte(s)
Diff to previous 772406 (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 772406 - (view) (annotate) - [select for diffs]
Modified Wed May 6 19:11:10 2009 UTC (6 months, 2 weeks ago) by damien
File length: 28224 byte(s)
Diff to previous 766883 (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 766883 - (view) (annotate) - [select for diffs]
Modified Mon Apr 20 21:34:46 2009 UTC (7 months ago) by damien
File length: 26226 byte(s)
Diff to previous 763858 (colored)
Fix for process leaks with retrying compactions.

Revision 763858 - (view) (annotate) - [select for diffs]
Modified Fri Apr 10 02:21:37 2009 UTC (7 months, 2 weeks ago) by damien
File length: 26131 byte(s)
Diff to previous 756925 (colored)
Fixes for leaked file handles, with test.

Revision 756925 - (view) (annotate) - [select for diffs]
Modified Sat Mar 21 12:27:40 2009 UTC (8 months ago) by damien
File length: 26089 byte(s)
Diff to previous 753448 (colored)
Fix for COUCHDB-300. Old seq were being removed when a conflict. An old bug, but recent changes made it much more likely to happen.

Revision 753448 - (view) (annotate) - [select for diffs]
Modified Fri Mar 13 22:15:34 2009 UTC (8 months, 1 week ago) by jchris
File length: 25945 byte(s)
Diff to previous 745076 (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 745076 - (view) (annotate) - [select for diffs]
Modified Tue Feb 17 14:01:51 2009 UTC (9 months ago) by damien
File length: 25467 byte(s)
Diff to previous 736906 (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 736906 - (view) (annotate) - [select for diffs]
Modified Fri Jan 23 04:15:47 2009 UTC (10 months ago) by damien
File length: 25516 byte(s)
Diff to previous 733917 (colored)
Added task status checking, to help debug the progress of long running tasks, like view indexing and compaction.

Revision 733917 - (view) (annotate) - [select for diffs]
Modified Mon Jan 12 21:47:39 2009 UTC (10 months, 1 week ago) by damien
File length: 24860 byte(s)
Diff to previous 733174 (colored)
Fix for broken conflict checking inside the db update process.

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: 24854 byte(s)
Diff to previous 733116 (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 733116 - (view) (annotate) - [select for diffs]
Modified Fri Jan 9 19:03:22 2009 UTC (10 months, 2 weeks ago) by jchris
File length: 24566 byte(s)
Diff to previous 731618 (colored)
fixed _all_docs view to use the correct PassedEndFun for binary docid sorting

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: 24459 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, 2 weeks ago) by damien
File length: 24428 byte(s)
Diff to previous 728764 (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 728764 - (view) (annotate) - [select for diffs]
Modified Mon Dec 22 20:35:50 2008 UTC (11 months ago) by damien
File length: 23809 byte(s)
Diff to previous 726143 (colored)
Fix for leaked file handles when not explicitly closed, added file stats code for checking for leaked file handles, and some refactoring of the view api.

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

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_updater.erl
File length: 23809 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_updater.erl
File length: 23805 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 ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db_updater.erl
File length: 22330 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, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db_updater.erl
File length: 22329 byte(s)
Diff to previous 701173 (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 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_updater.erl
File length: 21455 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, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db_updater.erl
File length: 20975 byte(s)
Diff to previous 691322 (colored)
Check-in of document purge functionality.

Revision 691322 - (view) (annotate) - [select for diffs]
Modified Tue Sep 2 17:06:33 2008 UTC (14 months, 3 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db_updater.erl
File length: 19726 byte(s)
Diff to previous 690668 (colored)
Fix for bug COUCHDB-109.

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_updater.erl
File length: 19485 byte(s)
Diff to previous 682560 (colored)
Merged json_term_changes branch back into trunk.

Revision 682560 - (view) (annotate) - [select for diffs]
Added Tue Aug 5 01:43:40 2008 UTC (15 months, 2 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_db_updater.erl
File length: 19456 byte(s)
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.

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