<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cloudant_bigcouch.git/apps/couch/test, branch master</title>
<subtitle>[cloudant_bigcouch] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/'/>
<entry>
<title>Backport new /_active_tasks API</title>
<updated>2012-11-15T11:23:46+00:00</updated>
<author>
<name>Robert Newson</name>
<email>robert.newson@cloudant.com</email>
</author>
<published>2012-11-14T19:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=19017b3612b4567ced3b8ac9cfe816e6cf80e0f8'/>
<id>19017b3612b4567ced3b8ac9cfe816e6cf80e0f8</id>
<content type='text'>
Improved _active_tasks API

Tasks are now free to set any properties they wish (as an
Erlang proplist). Different tasks can have different properties
and the status string doesn't exist anymore - instead client
applications can build it using more granular properties from
_active_tasks. Some of these properties are:

1) "progress" (an integer percentage, for all tasks)
2) "database" (for compactions and indexer tasks)
3) "design_document" (for indexer and view compaction tasks)
4) "source" and "target" (for replications)
5) "docs_read", "docs_written", "doc_write_failures",
   "missing_revs_found", "missing_revs_checked", "source_seq",
   "checkpointed_source_seq" and "continuous" for replications

BugzID: 14269

Conflicts:
	apps/couch/src/couch_db_updater.erl
	apps/couch/src/couch_rep.erl
	apps/couch/src/couch_task_status.erl
	apps/couch/src/couch_view_compactor.erl
	apps/couch/src/couch_view_updater.erl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Improved _active_tasks API

Tasks are now free to set any properties they wish (as an
Erlang proplist). Different tasks can have different properties
and the status string doesn't exist anymore - instead client
applications can build it using more granular properties from
_active_tasks. Some of these properties are:

1) "progress" (an integer percentage, for all tasks)
2) "database" (for compactions and indexer tasks)
3) "design_document" (for indexer and view compaction tasks)
4) "source" and "target" (for replications)
5) "docs_read", "docs_written", "doc_write_failures",
   "missing_revs_found", "missing_revs_checked", "source_seq",
   "checkpointed_source_seq" and "continuous" for replications

BugzID: 14269

Conflicts:
	apps/couch/src/couch_db_updater.erl
	apps/couch/src/couch_rep.erl
	apps/couch/src/couch_task_status.erl
	apps/couch/src/couch_view_compactor.erl
	apps/couch/src/couch_view_updater.erl
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix retrieval of headers larger than 4k</title>
<updated>2011-10-31T17:19:27+00:00</updated>
<author>
<name>Adam Kocoloski</name>
<email>kocolosk@apache.org</email>
</author>
<published>2011-10-26T18:04:54+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=7c94ebbf91f2c61b109af53cdbae530e79424849'/>
<id>7c94ebbf91f2c61b109af53cdbae530e79424849</id>
<content type='text'>
Our headers start with a &lt;&lt;1&gt;&gt; and then four bytes indicating the length
of the header and its checksum. When the header is larger than 4090
bytes it will be split across multiple blocks in the file and will need
to be reassembled on read. The reassembly consists of stripping out
&lt;&lt;0&gt;&gt; from the beginning of each subsequent block in the
remove_block_prefixes/2 function. The bug here is that we tell
remove_block_prefixes that we're starting 1 byte into the current block
instead of 5, so it ends up removing one good byte from the header and
injecting one or more random &lt;&lt;0&gt;&gt;s.

Headers larger than 4k are very rare and generally require a view group
with a huge number of indexes or indexes with fairly large reductions,
which explains why this bug has gone undetected until now.

Closes COUCHDB-1319.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Our headers start with a &lt;&lt;1&gt;&gt; and then four bytes indicating the length
of the header and its checksum. When the header is larger than 4090
bytes it will be split across multiple blocks in the file and will need
to be reassembled on read. The reassembly consists of stripping out
&lt;&lt;0&gt;&gt; from the beginning of each subsequent block in the
remove_block_prefixes/2 function. The bug here is that we tell
remove_block_prefixes that we're starting 1 byte into the current block
instead of 5, so it ends up removing one good byte from the header and
injecting one or more random &lt;&lt;0&gt;&gt;s.

Headers larger than 4k are very rare and generally require a view group
with a huge number of indexes or indexes with fairly large reductions,
which explains why this bug has gone undetected until now.

Closes COUCHDB-1319.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'apache/1.1.x'</title>
<updated>2011-10-10T18:04:54+00:00</updated>
<author>
<name>Robert Newson</name>
<email>robert.newson@cloudant.com</email>
</author>
<published>2011-10-10T16:55:50+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=cf630a2e87ac1b6eace26601dc5b7ffdb39273b2'/>
<id>cf630a2e87ac1b6eace26601dc5b7ffdb39273b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove bad new tests. evil tests, I keel you.</title>
<updated>2011-09-28T20:09:27+00:00</updated>
<author>
<name>Robert Newson</name>
<email>robert.newson@cloudant.com</email>
</author>
<published>2011-09-28T20:09:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=24e1156db042fbcb6a054601f2c18f367ed5389e'/>
<id>24e1156db042fbcb6a054601f2c18f367ed5389e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 1.1.x changes</title>
<updated>2011-09-28T10:32:50+00:00</updated>
<author>
<name>Robert Newson</name>
<email>robert.newson@cloudant.com</email>
</author>
<published>2011-09-28T10:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=954ddf0fca558f17f39e68df8311ee9057beb390'/>
<id>954ddf0fca558f17f39e68df8311ee9057beb390</id>
<content type='text'>
Conflicts:
	apps/couch/include/couch_db.hrl
	apps/couch/src/couch_db.erl
	apps/couch/src/couch_os_process.erl
	apps/couch/src/couch_query_servers.erl
	apps/couch/src/couch_rep.erl
	apps/couch/src/couch_replication_manager.erl
	apps/couch/src/couch_view_compactor.erl
	apps/couch/src/couch_view_group.erl
	apps/couch/src/couch_view_updater.erl
	configure.ac
	couchjs/c_src/http.c
	couchjs/c_src/main.c
	couchjs/c_src/utf8.c
	etc/windows/couchdb.iss.tpl
	src/couchdb/priv/Makefile.am
	src/couchdb/priv/couch_js/main.c
	test/etap/160-vhosts.t
	test/etap/200-view-group-no-db-leaks.t
	test/etap/Makefile.am

BugzID: 12645
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	apps/couch/include/couch_db.hrl
	apps/couch/src/couch_db.erl
	apps/couch/src/couch_os_process.erl
	apps/couch/src/couch_query_servers.erl
	apps/couch/src/couch_rep.erl
	apps/couch/src/couch_replication_manager.erl
	apps/couch/src/couch_view_compactor.erl
	apps/couch/src/couch_view_group.erl
	apps/couch/src/couch_view_updater.erl
	configure.ac
	couchjs/c_src/http.c
	couchjs/c_src/main.c
	couchjs/c_src/utf8.c
	etc/windows/couchdb.iss.tpl
	src/couchdb/priv/Makefile.am
	src/couchdb/priv/couch_js/main.c
	test/etap/160-vhosts.t
	test/etap/200-view-group-no-db-leaks.t
	test/etap/Makefile.am

BugzID: 12645
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/1.1.x' into 0.4.x</title>
<updated>2011-06-22T19:10:13+00:00</updated>
<author>
<name>Robert Newson</name>
<email>robert.newson@cloudant.com</email>
</author>
<published>2011-06-22T19:10:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=e2e9e07398c9697a13f6db36ed9d0403fa6c89f1'/>
<id>e2e9e07398c9697a13f6db36ed9d0403fa6c89f1</id>
<content type='text'>
Conflicts:
	acinclude.m4.in
	apps/couch/src/couch_app.erl
	apps/couch/src/couch_doc.erl
	apps/couch/src/couch_view.erl
	configure.ac
	share/www/script/test/replicator_db.js
	src/erlang-oauth/Makefile.am
	test/etap/Makefile.am
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	acinclude.m4.in
	apps/couch/src/couch_app.erl
	apps/couch/src/couch_doc.erl
	apps/couch/src/couch_view.erl
	configure.ac
	share/www/script/test/replicator_db.js
	src/erlang-oauth/Makefile.am
	test/etap/Makefile.am
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge CouchDB 1.1</title>
<updated>2011-06-13T13:59:55+00:00</updated>
<author>
<name>Robert Newson</name>
<email>robert.newson@cloudant.com</email>
</author>
<published>2011-06-13T13:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=e9a5a6f90a021db1db8a7e55ec797a4c86edcad6'/>
<id>e9a5a6f90a021db1db8a7e55ec797a4c86edcad6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add support for inclusive_end to fold_reduce, BugzID 11069"</title>
<updated>2011-01-28T21:12:00+00:00</updated>
<author>
<name>Adam Kocoloski</name>
<email>adam@cloudant.com</email>
</author>
<published>2011-01-28T21:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=ff9036784e5f3f722f71a536c50b37723595add1'/>
<id>ff9036784e5f3f722f71a536c50b37723595add1</id>
<content type='text'>
This reverts commit 5c3161d57b1d2d7953497c24be09112b6bcf71b6.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 5c3161d57b1d2d7953497c24be09112b6bcf71b6.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge CouchDB 1.0.2 release candidate</title>
<updated>2011-01-20T18:05:41+00:00</updated>
<author>
<name>Adam Kocoloski</name>
<email>adam.kocoloski@gmail.com</email>
</author>
<published>2011-01-20T17:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=f79d0a666a5fb9541a0925db5111208a94631065'/>
<id>f79d0a666a5fb9541a0925db5111208a94631065</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for inclusive_end to fold_reduce, BugzID 11069</title>
<updated>2010-12-09T19:54:03+00:00</updated>
<author>
<name>Robert Dionne</name>
<email>bob@cloudant.com</email>
</author>
<published>2010-11-11T16:21:51+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/cloudant_bigcouch.git/commit/?id=5c3161d57b1d2d7953497c24be09112b6bcf71b6'/>
<id>5c3161d57b1d2d7953497c24be09112b6bcf71b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
