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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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

Revision 880951 - (view) (annotate) - [select for diffs]
Modified Mon Nov 16 20:42:14 2009 UTC (8 days, 7 hours ago) by davisp
File length: 10484 byte(s)
Diff to previous 824968 (colored)
Fix a couple typos in the source.

paramter -> parameter
InitalBuild -> InitialBuild

Thanks David Coallier and Glenn Rempe for pointing them out.


Revision 824968 - (view) (annotate) - [select for diffs]
Modified Tue Oct 13 23:05:15 2009 UTC (6 weeks ago) by davisp
File length: 10484 byte(s)
Diff to previous 814078 (colored)
Fix partial view updating regression.


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: 10482 byte(s)
Diff to previous 810345 (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 810345 - (view) (annotate) - [select for diffs]
Modified Wed Sep 2 02:59:49 2009 UTC (2 months, 3 weeks ago) by damien
File length: 10288 byte(s)
Diff to previous 796805 (colored)
Added 3 stage pipeline for indexing views: loader, mapper, writer. This results in better performance and resource utilization.

Revision 796805 - (view) (annotate) - [select for diffs]
Modified Wed Jul 22 17:34:14 2009 UTC (4 months ago) by kocolosk
File length: 9412 byte(s)
Diff to previous 794843 (colored)
various bugfixes and improvements for view compaction

View compaction was broken after the switch to signature-based index
files, but we don't have tests for it yet so we didn't notice.  I also
committed a few changes that should make compaction faster and more
robust:

* commit the header immediately after compaction finishes.  We used
  to wait 1 seconds, but if the server restarted in that second the
  index would be reset.

* unlink from old index file at the end. Prevents process crashes
  that could couch_view (and with the delayed commit would sometimes
  cause index resets).
  
* don't wait for running view updates to finish before replacing old
  view index file.  If an update is running, restart it and point it to
  the new view group.  This alleviates the situation where the view
  compaction goes into a busy wait, printing "still behind main file"
  1000s of times to the log, and generally makes compaction finish more
  quickly.
  
* better logging

Revision 794843 - (view) (annotate) - [select for diffs]
Modified Thu Jul 16 20:40:59 2009 UTC (4 months, 1 week ago) by kocolosk
File length: 9404 byte(s)
Diff to previous 794057 (colored)
checkpoint long-running view updates

Improves stale=ok view queries, which will now see gradually updating indexes.
Also reduces the consequences of an updater crash because we can restart from
the latest checkpoint.

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: 9204 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: 9206 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: 9227 byte(s)
Diff to previous 791136 (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 791136 - (view) (annotate) - [select for diffs]
Modified Sat Jul 4 15:17:44 2009 UTC (4 months, 3 weeks ago) by jchris
File length: 9965 byte(s)
Diff to previous 777975 (colored)
last three dialyzer recommended cleanups

Revision 777975 - (view) (annotate) - [select for diffs]
Modified Sat May 23 17:45:26 2009 UTC (6 months ago) by jchris
File length: 9965 byte(s)
Diff to previous 777757 (colored)
remove leftover trace logging

Revision 777757 - (view) (annotate) - [select for diffs]
Modified Sat May 23 01:14:13 2009 UTC (6 months ago) by jchris
File length: 10027 byte(s)
Diff to previous 772406 (colored)
added an design doc option so that doc._local_seq can be available in the map view. Closes COUCHDB-346

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: 9760 byte(s)
Diff to previous 739866 (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 739866 - (view) (annotate) - [select for diffs]
Modified Sun Feb 1 22:21:09 2009 UTC (9 months, 3 weeks ago) by jchris
File length: 9741 byte(s)
Diff to previous 736906 (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 736906 - (view) (annotate) - [select for diffs]
Modified Fri Jan 23 04:15:47 2009 UTC (10 months ago) by damien
File length: 9349 byte(s)
Diff to previous 731618 (colored)
Added task status checking, to help debug the progress of long running tasks, like view indexing and compaction.

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: 8718 byte(s)
Diff to previous 726143 (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 726143 - (view) (annotate) - [select for diffs]
Modified Fri Dec 12 22:32:42 2008 UTC (11 months, 1 week ago) by joes
File length: 8891 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, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view_updater.erl
File length: 8891 byte(s)
Diff to previous 725741 (colored)
modifications to view server to keep the file descriptor open for the life of the view group.

Revision 725741 - (view) (annotate) - [select for diffs]
Modified Thu Dec 11 17:15:31 2008 UTC (11 months, 1 week ago) by jchris
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view_updater.erl
File length: 15694 byte(s)
Diff to previous 724946 (colored)
removed a particularly verbose LOG_DEBUG statement

Revision 724946 - (view) (annotate) - [select for diffs]
Added Wed Dec 10 01:13:17 2008 UTC (11 months, 2 weeks ago) by jchris
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view_updater.erl
File length: 15753 byte(s)
view group state gen_server. thanks damien and davisp.

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