<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/src/mango, branch switch-scripts-to-python3</title>
<subtitle>github.com: apache/couchdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/'/>
<entry>
<title>Don't use activate script; Windows fixes</title>
<updated>2018-11-28T02:15:12+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>wohali@apache.org</email>
</author>
<published>2018-11-28T00:29:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=d0f76b9f7f93e3843c8bc202dacc5e082e571547'/>
<id>d0f76b9f7f93e3843c8bc202dacc5e082e571547</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Run mango tests with Python 3</title>
<updated>2018-11-26T22:49:33+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2018-10-03T19:11:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=9870a7c0aa1801bd30f19f8abfc3fbe8d45bae12'/>
<id>9870a7c0aa1801bd30f19f8abfc3fbe8d45bae12</id>
<content type='text'>
Before we were ignoring venv setup in the Makefile, so update the test runner
to use that instead of pestering developers to install those dependencies by
hand.

Issue #1632
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before we were ignoring venv setup in the Makefile, so update the test runner
to use that instead of pestering developers to install those dependencies by
hand.

Issue #1632
</pre>
</div>
</content>
</entry>
<entry>
<title>Mango test suite Windows fixes, closes #1732</title>
<updated>2018-11-13T21:42:23+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>wohali@apache.org</email>
</author>
<published>2018-11-13T21:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=375853cca38d127260f62127c15eb985c903d500'/>
<id>375853cca38d127260f62127c15eb985c903d500</id>
<content type='text'>
Unfortuantely, os:timestamp() on Windows only has millisecond
accuracy. That means that the two Mango tests checking for a positive
value of execution_time fail, since these tests appear to be running
in &lt;1ms on my test setup (a rather anemic Windows VM!)

This change disables only the check for execution_time in two tests,
and leaves the remainder of the execution_stats checks in place
on Windows.

It also introduces a convenience "make.cmd" file so you can
"make check" without typing "make -f Makefile.win check" all the time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortuantely, os:timestamp() on Windows only has millisecond
accuracy. That means that the two Mango tests checking for a positive
value of execution_time fail, since these tests appear to be running
in &lt;1ms on my test setup (a rather anemic Windows VM!)

This change disables only the check for execution_time in two tests,
and leaves the remainder of the execution_stats checks in place
on Windows.

It also introduces a convenience "make.cmd" file so you can
"make check" without typing "make -f Makefile.win check" all the time.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support out-of-sync in mango when doc is deleted</title>
<updated>2018-11-06T09:15:14+00:00</updated>
<author>
<name>jiangph</name>
<email>jiangph@cn.ibm.com</email>
</author>
<published>2018-11-02T09:12:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=8ad49a22b198b84b062268340acc3fd84fb9bcc7'/>
<id>8ad49a22b198b84b062268340acc3fd84fb9bcc7</id>
<content type='text'>
  - under situation where the document is deleted while the mrview
  index for this document is not updated, the returned value from
  mrview is {doc,null}. There is no such consideration in Mango to
  cause case_clause error. This fix is to consider out-of-sync between
  documents in database and their index and not to cause 500 when
  the _find endpoint is called.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  - under situation where the document is deleted while the mrview
  index for this document is not updated, the returned value from
  mrview is {doc,null}. There is no such consideration in Mango to
  cause case_clause error. This fix is to consider out-of-sync between
  documents in database and their index and not to cause 500 when
  the _find endpoint is called.
</pre>
</div>
</content>
</entry>
<entry>
<title>Hard code hypothesis to avoid master versions breaking builds</title>
<updated>2018-10-23T08:12:55+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2018-10-23T07:09:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=01a7165d42901ab4f99ea3d81c50cb9d485aa4d4'/>
<id>01a7165d42901ab4f99ea3d81c50cb9d485aa4d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid crashing if a mango query is reduced</title>
<updated>2018-10-18T17:20:32+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2018-10-18T15:43:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=4a76ccbd51786218f8bf20b888bbb23e40a019db'/>
<id>4a76ccbd51786218f8bf20b888bbb23e40a019db</id>
<content type='text'>
Previously returning null from mango native proc lead to case clause error in
couch_query_servers. Instead return a proper shape but with null results for
each reduction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously returning null from mango native proc lead to case clause error in
couch_query_servers. Instead return a proper shape but with null results for
each reduction.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mango match doc on co-ordinating node (#1609)</title>
<updated>2018-09-21T11:53:40+00:00</updated>
<author>
<name>garren smith</name>
<email>garren.smith@gmail.com</email>
</author>
<published>2018-09-21T11:53:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=60107992135bc65f69ab8528825a13d36d77b4c9'/>
<id>60107992135bc65f69ab8528825a13d36d77b4c9</id>
<content type='text'>
* Mango match doc on co-ordinating node

This fixes an issue when doing a rolling upgrade of a CouchDB cluster
and adding commit a6bc72e the nodes that were not upgraded yet would
send through all the docs in the index and those would be passed through
to the user because the co-oridnator would assume it was matched at the
node level. This adds in a check to see if it has been matched at the
node level or not. And then performs a match if required.


</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Mango match doc on co-ordinating node

This fixes an issue when doing a rolling upgrade of a CouchDB cluster
and adding commit a6bc72e the nodes that were not upgraded yet would
send through all the docs in the index and those would be passed through
to the user because the co-oridnator would assume it was matched at the
node level. This adds in a check to see if it has been matched at the
node level or not. And then performs a match if required.


</pre>
</div>
</content>
</entry>
<entry>
<title>Move mango selector matching to the shard level</title>
<updated>2018-08-08T17:24:38+00:00</updated>
<author>
<name>Garren Smith</name>
<email>garren.smith@gmail.com</email>
</author>
<published>2018-08-08T07:56:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=a6bc72e76c56a1befa8675b06016ecda46ef3a2d'/>
<id>a6bc72e76c56a1befa8675b06016ecda46ef3a2d</id>
<content type='text'>
This moves the Mango selector matching down to the shard level.
this would mean that the document is retrieved from the index and
matched against the selector before being sent to the coordinator node.
This reduces the network traffic for a mango query

Co-authored-by: Paul J. Davis &lt;paul.joseph.davis@gmail.com&gt;
Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This moves the Mango selector matching down to the shard level.
this would mean that the document is retrieved from the index and
matched against the selector before being sent to the coordinator node.
This reduces the network traffic for a mango query

Co-authored-by: Paul J. Davis &lt;paul.joseph.davis@gmail.com&gt;
Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Clarify bad index creation error messages</title>
<updated>2018-07-14T13:00:08+00:00</updated>
<author>
<name>Brandon Gottlob</name>
<email>info@bgottlob.com</email>
</author>
<published>2018-05-02T11:15:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=dacb6583bc5b08c0c2ae2099a787c60eb0a33da8'/>
<id>dacb6583bc5b08c0c2ae2099a787c60eb0a33da8</id>
<content type='text'>
Fixes #927
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #927
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for mango conflict finding</title>
<updated>2018-07-13T15:04:55+00:00</updated>
<author>
<name>Jan Lehnardt</name>
<email>jan@apache.org</email>
</author>
<published>2018-07-13T13:08:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=572234fb5026ae64ec7f6ed84728f2b1ef63d955'/>
<id>572234fb5026ae64ec7f6ed84728f2b1ef63d955</id>
<content type='text'>
I couldn’t find a cleaner way to add _bulk_docs with
`new_edits: false`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I couldn’t find a cleaner way to add _bulk_docs with
`new_edits: false`.
</pre>
</div>
</content>
</entry>
</feed>
