<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/src/dreyfus, branch decrease-indexer-transaction-time-limit</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>Merge branch master into prototype/fdb-layer</title>
<updated>2020-09-16T21:37:33+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2020-09-16T21:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=ad93d1378048ab1049dcd5d6066e947afb614e67'/>
<id>ad93d1378048ab1049dcd5d6066e947afb614e67</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow to continue to cleanup search index even if there is invalid ddoc</title>
<updated>2020-09-01T05:16:15+00:00</updated>
<author>
<name>jiangph</name>
<email>jiangph@cn.ibm.com</email>
</author>
<published>2020-09-01T05:16:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=253d64adff235826e176f82d7cd081ad45bc0cab'/>
<id>253d64adff235826e176f82d7cd081ad45bc0cab</id>
<content type='text'>
In some situation where design document for search index created by
customer is not valid, the _search_cleanup endpoint will stop to clean
up. This will leave some search index orphan. The change is to allow
to continue to clean up search index even if there is invalid design
document for search.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some situation where design document for search index created by
customer is not valid, the _search_cleanup endpoint will stop to clean
up. This will leave some search index orphan. The change is to allow
to continue to clean up search index even if there is invalid design
document for search.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add format_status/2 callback in gen_server implementations</title>
<updated>2020-07-30T12:10:08+00:00</updated>
<author>
<name>ILYA Khlopotov</name>
<email>iilyak@apache.org</email>
</author>
<published>2020-07-23T15:05:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=97e7a95c3c25c1ece7db25ee87e6476ba0a11282'/>
<id>97e7a95c3c25c1ece7db25ee87e6476ba0a11282</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow drilldown for search to always be specified as list of lists</title>
<updated>2020-06-22T15:54:23+00:00</updated>
<author>
<name>Bessenyei Balázs Donát</name>
<email>bessbd@apache.org</email>
</author>
<published>2020-06-19T17:31:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=42403914a8c86a26cf58363f0eaf35551400aa30'/>
<id>42403914a8c86a26cf58363f0eaf35551400aa30</id>
<content type='text'>
To use multiple `drilldown` parameters users had to define
`drilldown` multiple times to be able supply them.

This caused interoperability issues as most languages require
defining query parameters and request bodies as associative
arrays, maps or dictionaries where the keys are unique.

This change enables defining `drilldown` as a list of lists so
that other languages can define multiple drilldown keys and values.

Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To use multiple `drilldown` parameters users had to define
`drilldown` multiple times to be able supply them.

This caused interoperability issues as most languages require
defining query parameters and request bodies as associative
arrays, maps or dictionaries where the keys are unique.

This change enables defining `drilldown` as a list of lists so
that other languages can define multiple drilldown keys and values.

Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make restricted partition search parameters return bad request</title>
<updated>2020-06-18T12:40:22+00:00</updated>
<author>
<name>Bessenyei Balázs Donát</name>
<email>bessbd@apache.org</email>
</author>
<published>2020-06-17T18:09:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=6659dbbd7c556b8dc00c075e331d7b106d44088d'/>
<id>6659dbbd7c556b8dc00c075e331d7b106d44088d</id>
<content type='text'>
According to https://docs.couchdb.org/en/master/ddocs/search.html there
are parameters for searches that are not allowed for partitioned queries.

Those restrictions were not enforced, thus making the software and docs
inconsistent.

This commit adds them to validation so that the behavior matches the one
described in the docs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to https://docs.couchdb.org/en/master/ddocs/search.html there
are parameters for searches that are not allowed for partitioned queries.

Those restrictions were not enforced, thus making the software and docs
inconsistent.

This commit adds them to validation so that the behavior matches the one
described in the docs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix highlight_post_tag parsing from json request body</title>
<updated>2020-02-05T11:09:35+00:00</updated>
<author>
<name>Robert Newson</name>
<email>robert.newson@uk.ibm.com</email>
</author>
<published>2020-02-05T11:09:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=06b8bb789c74f8952f0b4c0f220d7503bf4206ab'/>
<id>06b8bb789c74f8952f0b4c0f220d7503bf4206ab</id>
<content type='text'>
Fixes #2520
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2520
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove reduntant get_ring_opts call in in dreyfus_fabric_search</title>
<updated>2020-01-23T17:00:07+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-01-23T14:43:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=fb59a6167708d3aba3c22654481742c393f3a9ce'/>
<id>fb59a6167708d3aba3c22654481742c393f3a9ce</id>
<content type='text'>
Previously we erroneously got ring opts before and after figuring out live
shards if some shards were not live there was a badmatch failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously we erroneously got ring opts before and after figuring out live
shards if some shards were not live there was a badmatch failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix misspelling in dreyfus</title>
<updated>2020-01-22T15:49:15+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-01-22T15:22:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=acdfd390543629b2816c194704bea16533cec452'/>
<id>acdfd390543629b2816c194704bea16533cec452</id>
<content type='text'>
dreyful -&gt; dreyfus
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dreyful -&gt; dreyfus
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix fabric worker failures for partition requests</title>
<updated>2020-01-16T16:26:22+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-01-15T17:55:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=75e3acb426516e2ede8e70f55d72a73419cdeef3'/>
<id>75e3acb426516e2ede8e70f55d72a73419cdeef3</id>
<content type='text'>
Previously any failed node or rexi worker error resulted in requests failing
immediately even though there were available workers to keep handling the
request. This was because the progress check function didn't account for the
fact that partition requests only use a handful of shards which, by design, do
not complete the full ring.

Here we fix both partition info queries and dreyfus search functionality. We
follow the pattern from fabric and pass through a set of "ring options" that
let the progress function know it is dealing with partitions instead of a full
ring.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously any failed node or rexi worker error resulted in requests failing
immediately even though there were available workers to keep handling the
request. This was because the progress check function didn't account for the
fact that partition requests only use a handful of shards which, by design, do
not complete the full ring.

Here we fix both partition info queries and dreyfus search functionality. We
follow the pattern from fabric and pass through a set of "ring options" that
let the progress function know it is dealing with partitions instead of a full
ring.
</pre>
</div>
</content>
</entry>
<entry>
<title>Eliminate multiple compiler warnings</title>
<updated>2020-01-13T22:29:40+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>joant@atypical.net</email>
</author>
<published>2020-01-13T17:57:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=de9c683fc7977c51e00e63687fb764b9cbe2c7e6'/>
<id>de9c683fc7977c51e00e63687fb764b9cbe2c7e6</id>
<content type='text'>
We now only support OTP 20+, with 19 at a stretch. erlang:now/0
was deprecated in OTP 18, so we can now suppress these warnings:

```
/home/joant/couchdb/src/dreyfus/src/dreyfus_index_updater.erl:62: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
/home/joant/couchdb/src/dreyfus/src/dreyfus_index_updater.erl:83: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
```

Also, some unused variables were removed:

```
/home/joant/couchdb/src/couch/src/couch_bt_engine.erl:997: Warning: variable 'NewSeq' is unused
/home/joant/couchdb/src/mem3/src/mem3_rep.erl:752: Warning: variable 'TMap' is unused
/home/joant/couchdb/src/dreyfus/src/dreyfus_httpd.erl:76: Warning: variable 'LimitValue' is unused
/home/joant/couchdb/src/dreyfus/src/dreyfus_util.erl:345: Warning: variable 'Db' is unused
```

PRs to follow in ets_lru, hyper, ibrowse to track the rest of `erlang:now/0`
deprecations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We now only support OTP 20+, with 19 at a stretch. erlang:now/0
was deprecated in OTP 18, so we can now suppress these warnings:

```
/home/joant/couchdb/src/dreyfus/src/dreyfus_index_updater.erl:62: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
/home/joant/couchdb/src/dreyfus/src/dreyfus_index_updater.erl:83: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
```

Also, some unused variables were removed:

```
/home/joant/couchdb/src/couch/src/couch_bt_engine.erl:997: Warning: variable 'NewSeq' is unused
/home/joant/couchdb/src/mem3/src/mem3_rep.erl:752: Warning: variable 'TMap' is unused
/home/joant/couchdb/src/dreyfus/src/dreyfus_httpd.erl:76: Warning: variable 'LimitValue' is unused
/home/joant/couchdb/src/dreyfus/src/dreyfus_util.erl:345: Warning: variable 'Db' is unused
```

PRs to follow in ets_lru, hyper, ibrowse to track the rest of `erlang:now/0`
deprecations.
</pre>
</div>
</content>
</entry>
</feed>
