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

Log of /couchdb/trunk/src/couchdb/couch_view.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 (2 days, 15 hours ago) by kocolosk
File length: 13636 byte(s)
Diff to previous 814893 (colored)
code improvements from tidier. Patch by Kostis Sagonas. COUCHDB-570

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: 13678 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: 13729 byte(s)
Diff to previous 804428 (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 804428 - (view) (annotate) - [select for diffs]
Modified Sat Aug 15 02:09:16 2009 UTC (3 months, 1 week ago) by kocolosk
File length: 13815 byte(s)
Diff to previous 795232 (colored)
replace regexp with re. Thanks Kim Shrier, Gordon Stratton. Closes COUCHDB-245

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: 13806 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: 13821 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: 13823 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: 13911 byte(s)
Diff to previous 780165 (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 780165 - (view) (annotate) - [select for diffs]
Modified Sat May 30 02:43:52 2009 UTC (5 months, 3 weeks ago) by damien
File length: 14006 byte(s)
Diff to previous 763858 (colored)
Test and fix for infinite loops in view_servers, fix for crashed OS processes causing leaked erlang processes and fix for view server crashing when view group process terminates.

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: 13998 byte(s)
Diff to previous 762153 (colored)
Fixes for leaked file handles, with test.

Revision 762153 - (view) (annotate) - [select for diffs]
Modified Sun Apr 5 20:34:35 2009 UTC (7 months, 2 weeks ago) by kocolosk
File length: 13958 byte(s)
Diff to previous 744747 (colored)
added compaction for view indexes.  See COUCHDB-92

No tests or Futon interface for this feature yet.

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: 13939 byte(s)
Diff to previous 743653 (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 743653 - (view) (annotate) - [select for diffs]
Modified Thu Feb 12 08:29:34 2009 UTC (9 months, 1 week ago) by jchris
File length: 13689 byte(s)
Diff to previous 739866 (colored)
allow user-configurable directory for view indexes.
closes COUCHDB-168. thanks Adam Kocoloski

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: 13685 byte(s)
Diff to previous 736837 (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 736837 - (view) (annotate) - [select for diffs]
Modified Thu Jan 22 22:42:45 2009 UTC (10 months ago) by jchris
File length: 13476 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: 13426 byte(s)
Diff to previous 731144 (colored)
tests for fix to COUCHDB-215, and changing of how max_dbs_open setting is handled at runtime.

Revision 731144 - (view) (annotate) - [select for diffs]
Modified Sun Jan 4 01:01:33 2009 UTC (10 months, 2 weeks ago) by jchris
File length: 13386 byte(s)
Diff to previous 728764 (colored)
Rename _temp_views to _slow_views. Any clients who were using temp views are encouraged not to use slow views, and instead transition to design documents (or running the views on the client).

Revision 728764 - (view) (annotate) - [select for diffs]
Modified Mon Dec 22 20:35:50 2008 UTC (11 months ago) by damien
File length: 13386 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: 13477 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.erl
File length: 13477 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_view.erl
File length: 13515 byte(s)
Diff to previous 710156 (colored)
view group state gen_server. thanks damien and davisp.

Revision 710156 - (view) (annotate) - [select for diffs]
Modified Mon Nov 3 20:59:45 2008 UTC (12 months, 2 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 30090 byte(s)
Diff to previous 701173 (colored)
Fix for performance problem with views. Every access to a view was causing a disk sync, regardless if the index was updated.

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_view.erl
File length: 29909 byte(s)
Diff to previous 694989 (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 694989 - (view) (annotate) - [select for diffs]
Modified Sat Sep 13 17:32:46 2008 UTC (14 months, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 30046 byte(s)
Diff to previous 694430 (colored)
Changes and refactorings to couch_config

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_view.erl
File length: 30050 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_view.erl
File length: 27706 byte(s)
Diff to previous 690513 (colored)
Merged json_term_changes branch back into trunk.

Revision 690513 - (view) (annotate) - [select for diffs]
Modified Sat Aug 30 14:27:01 2008 UTC (14 months, 3 weeks ago) by jan
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 27305 byte(s)
Diff to previous 687336 (colored)
- Rename configuration options and sections to allow for a nicer .ini file and HTTP API calls.
- Enable .ini parser to read variable assignments with spaces around the '='-sign.
- Remove inadequate comment.

Revision 687336 - (view) (annotate) - [select for diffs]
Modified Wed Aug 20 13:55:41 2008 UTC (15 months ago) by jan
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 27307 byte(s)
Diff to previous 685975 (colored)
Merge runtimeconfig 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_view.erl
File length: 27031 byte(s)
Diff to previous 682790 (colored)
CouchDB performance work. Faster Btree updates and lookups.

Revision 682790 - (view) (annotate) - [select for diffs]
Modified Tue Aug 5 16:54:45 2008 UTC (15 months, 2 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25613 byte(s)
Diff to previous 682560 (colored)
Readded file name checks for open and delete, as an attacker could use relative file names to open/delete otherwise inaccessible db files. Also changed view server shutdown when the parent db shutdowns into a non-normal termination, so that the linked supservisor correctly removes the process from its indexes.

Revision 682560 - (view) (annotate) - [select for diffs]
Modified Tue Aug 5 01:43:40 2008 UTC (15 months, 2 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25608 byte(s)
Diff to previous 680156 (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 680156 - (view) (annotate) - [select for diffs]
Modified Sun Jul 27 17:37:29 2008 UTC (15 months, 4 weeks ago) by nslater
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25139 byte(s)
Diff to previous 667522 (colored)
removed individual committer copyright statements as per policy

Revision 667522 - (view) (annotate) - [select for diffs]
Modified Fri Jun 13 13:21:01 2008 UTC (17 months, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25220 byte(s)
Diff to previous 667236 (colored)
Fix for bug when reopening view indexes.

Revision 667236 - (view) (annotate) - [select for diffs]
Modified Thu Jun 12 21:32:20 2008 UTC (17 months, 1 week ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25237 byte(s)
Diff to previous 665852 (colored)
fix for problem when view index header data exceeds 2k.

Revision 665852 - (view) (annotate) - [select for diffs]
Modified Mon Jun 9 19:55:34 2008 UTC (17 months, 2 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25449 byte(s)
Diff to previous 661476 (colored)
Changed name of 'combine' phase of reduce to 'rereduce', to avoid confusion.

Revision 661476 - (view) (annotate) - [select for diffs]
Modified Thu May 29 20:51:14 2008 UTC (17 months, 3 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25444 byte(s)
Diff to previous 659596 (colored)
Grouped reduce support. Needs performance work.

Revision 659596 - (view) (annotate) - [select for diffs]
Modified Fri May 23 16:51:46 2008 UTC (18 months ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25084 byte(s)
Diff to previous 658405 (colored)
fix for bug with reusing map btree indexes when multiple views have the same map function

Revision 658405 - (view) (annotate) - [select for diffs]
Modified Tue May 20 19:57:37 2008 UTC (18 months ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25077 byte(s)
Diff to previous 657926 (colored)
Fixed design document view definitions to be consistent with temp views. Changed the name of the map(K,V) call in the javascript views to emit(K,V)

Revision 657926 - (view) (annotate) - [select for diffs]
Modified Mon May 19 19:20:19 2008 UTC (18 months ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25323 byte(s)
Diff to previous 657606 (colored)
Changed temp view definition to always be jsonobjects with map/reduce source as members of the object. Everywhere we used 'text/javascript' or 'application/javascript', we now just use 'javascript'

Revision 657606 - (view) (annotate) - [select for diffs]
Modified Sun May 18 18:47:57 2008 UTC (18 months ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 25328 byte(s)
Diff to previous 656861 (colored)
Fix for pattern matching bug during reduce

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_view.erl
File length: 25328 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_view.erl
File length: 21642 byte(s)
Diff to previous 644593 (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 644593 - (view) (annotate) - [select for diffs]
Modified Fri Apr 4 03:10:34 2008 UTC (19 months, 3 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 21672 byte(s)
Diff to previous 643556 (colored)
compaction code, not hooked up to webserver yet

Revision 643556 - (view) (annotate) - [select for diffs]
Modified Tue Apr 1 20:32:15 2008 UTC (19 months, 3 weeks ago) by damien
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 21528 byte(s)
Diff to previous 642432 (colored)
Fix for runaway process in the view code and the so far untested storage  compaction code.

Revision 642432 - (view) (annotate) - [select for diffs]
Added Fri Mar 28 23:32:19 2008 UTC (19 months, 3 weeks ago) by cmlenz
Original Path: incubator/couchdb/trunk/src/couchdb/couch_view.erl
File length: 21432 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