<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/rel/files, 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>Add a development container for VS Code (#3343)</title>
<updated>2021-01-26T01:31:57+00:00</updated>
<author>
<name>Adam Kocoloski</name>
<email>kocolosk@apache.org</email>
</author>
<published>2021-01-26T01:31:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=46b346e30b96d3774f83ee2d366e12dc1ce50749'/>
<id>46b346e30b96d3774f83ee2d366e12dc1ce50749</id>
<content type='text'>
* Add a development container config for VS Code

This creates a development environment with a FoundationDB server
and a CouchDB layer in two containers, sharing a network through
Docker Compose.

It uses the FDB image published to Docker Hub for the FDB container,
and downloads the FDB client packages from foundationdb.org to provide
the development headers and libraries. www.foundationdb.org is actually
not trusted in Debian Buster by default, so we have to download the
GeoTrust_Global_CA.pem. The following link has more details:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962596

Once the Docker Compose setup is running, VS Code executes the
create_cluster_file.bash script to write down a cluster file containing
the IP address in the compose network where the FDB service can be
found. This cluster file is used both for a user-driven invocation of
`./dev/run`, as well as for unit tests that require a running CouchDB.

Additionally, I've got a small fix to the way we run explicitly specified
eunit tests:

* Run eunit tests for each app separately

The `eunit` target executes a for loop that appears intended to use a
separate invocation of rebar for each Erlang application's unit tests.
When running `make eunit` without any arguments this works correctly,
as the for loop processes the output of `ls src`. But if you specify a
comma-delimited list of applications the for loop will treat that as a
single argument and pass it down to rebar. This asymmetry is
surprising, but also seems to cause some issues with environment
variables not being inherited by the environment used to execute the
tests for the 2..N applications in the list. I didn't bother digging
into the rebar source code to figure out what was happening there.

This patch just parses the incoming comma-delimited list with `sed` to
create a whitespace-delimited list for the loop, so we get the same
behavior regardless of whether we are specifying applications
explicitly or not.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add a development container config for VS Code

This creates a development environment with a FoundationDB server
and a CouchDB layer in two containers, sharing a network through
Docker Compose.

It uses the FDB image published to Docker Hub for the FDB container,
and downloads the FDB client packages from foundationdb.org to provide
the development headers and libraries. www.foundationdb.org is actually
not trusted in Debian Buster by default, so we have to download the
GeoTrust_Global_CA.pem. The following link has more details:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962596

Once the Docker Compose setup is running, VS Code executes the
create_cluster_file.bash script to write down a cluster file containing
the IP address in the compose network where the FDB service can be
found. This cluster file is used both for a user-driven invocation of
`./dev/run`, as well as for unit tests that require a running CouchDB.

Additionally, I've got a small fix to the way we run explicitly specified
eunit tests:

* Run eunit tests for each app separately

The `eunit` target executes a for loop that appears intended to use a
separate invocation of rebar for each Erlang application's unit tests.
When running `make eunit` without any arguments this works correctly,
as the for loop processes the output of `ls src`. But if you specify a
comma-delimited list of applications the for loop will treat that as a
single argument and pass it down to rebar. This asymmetry is
surprising, but also seems to cause some issues with environment
variables not being inherited by the environment used to execute the
tests for the 2..N applications in the list. I didn't bother digging
into the rebar source code to figure out what was happening there.

This patch just parses the incoming comma-delimited list with `sed` to
create a whitespace-delimited list for the loop, so we get the same
behavior regardless of whether we are specifying applications
explicitly or not.</pre>
</div>
</content>
</entry>
<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>Remove couch_rate</title>
<updated>2020-09-15T17:49:02+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2020-09-03T18:28:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=15ff5802612bfd39f0cc6f4d7f0c3fd993552f7d'/>
<id>15ff5802612bfd39f0cc6f4d7f0c3fd993552f7d</id>
<content type='text'>
This implementation was difficult to understand and had behavior that
was too difficult to predict. It would break if view behavior changed in
significant ways from what was originally expected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implementation was difficult to understand and had behavior that
was too difficult to predict. It would break if view behavior changed in
significant ways from what was originally expected.
</pre>
</div>
</content>
</entry>
<entry>
<title>Windows: provide full path to epmd</title>
<updated>2020-08-03T15:23:03+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>joant@atypical.net</email>
</author>
<published>2020-08-02T03:10:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=f43f78a9f9b2a157c2443fea596178c7dedb7e2c'/>
<id>f43f78a9f9b2a157c2443fea596178c7dedb7e2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use `couch_rate` application for `couch_view`</title>
<updated>2020-04-02T10:41:40+00:00</updated>
<author>
<name>ILYA Khlopotov</name>
<email>iilyak@apache.org</email>
</author>
<published>2020-02-13T20:23:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=85f81d88018fe526f1f216d673a9bbc847cbd81c'/>
<id>85f81d88018fe526f1f216d673a9bbc847cbd81c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure clean PATH for Windows couchdb.cmd (#2708)</title>
<updated>2020-03-23T18:48:59+00:00</updated>
<author>
<name>Joan Touzet</name>
<email>wohali@users.noreply.github.com</email>
</author>
<published>2020-03-23T18:48:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=5c52904c2d12e9b75450ed82aebfefc1b6100884'/>
<id>5c52904c2d12e9b75450ed82aebfefc1b6100884</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement a simple index auto-updater</title>
<updated>2020-03-09T19:10:34+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-03-08T05:03:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=02ca72ba34eb1768a631f12e34022464cf70278f'/>
<id>02ca72ba34eb1768a631f12e34022464cf70278f</id>
<content type='text'>
The main logic is as follows:

 - After doc update transaction(s) are completed in the `fabric2_db` module,
   call the `fabric2_index:db_updated(Db)` function.

 - `fabric2_index:db_updated(Db)` inserts a `{DbName, Timestamp}` tuple into
   one of the sharded ets tables. The tuple is inserted using `ets:insert_new`,
   which ensures only the first entry succeeds and others will be ignored,
   until that entry is cleared.

 - Each ets table in `fabric2_index` has a simple monitor process that
   periodically scans that table. If it finds databases which have been
   updated, it notifies all the indices which have registered with
   `fabric2_index` to build indices.

There are config settings to disable index auto-updating and to adjust the
delay interval, and the resolution. The interval specifies how long to wait
since the first time the db was modified. The resolution interval specifies how
often to check the ets tables.

Just like in the original ken, design documents can have an `"autoupdate":
false` option to disable auto-updating that design document only.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The main logic is as follows:

 - After doc update transaction(s) are completed in the `fabric2_db` module,
   call the `fabric2_index:db_updated(Db)` function.

 - `fabric2_index:db_updated(Db)` inserts a `{DbName, Timestamp}` tuple into
   one of the sharded ets tables. The tuple is inserted using `ets:insert_new`,
   which ensures only the first entry succeeds and others will be ignored,
   until that entry is cleared.

 - Each ets table in `fabric2_index` has a simple monitor process that
   periodically scans that table. If it finds databases which have been
   updated, it notifies all the indices which have registered with
   `fabric2_index` to build indices.

There are config settings to disable index auto-updating and to adjust the
delay interval, and the resolution. The interval specifies how long to wait
since the first time the db was modified. The resolution interval specifies how
often to check the ets tables.

Just like in the original ken, design documents can have an `"autoupdate":
false` option to disable auto-updating that design document only.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update build system for FoundationDB</title>
<updated>2020-03-02T17:20:26+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2019-06-05T18:04:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=fff07ba136cfa7433647e974355068b43e63199c'/>
<id>fff07ba136cfa7433647e974355068b43e63199c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: re-allow spaces in startup paths (#2504)</title>
<updated>2020-01-31T16:22:33+00:00</updated>
<author>
<name>Jan Lehnardt</name>
<email>jan@apache.org</email>
</author>
<published>2020-01-31T16:22:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=6124187883922536808d09a5573c959c950e8aa3'/>
<id>6124187883922536808d09a5573c959c950e8aa3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix missing parentheses in couchdb.in</title>
<updated>2020-01-09T18:26:21+00:00</updated>
<author>
<name>Will Holley</name>
<email>willholley@gmail.com</email>
</author>
<published>2020-01-09T16:22:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=9fd9d15254cc1b6d69431d47b0122e465caed2b1'/>
<id>9fd9d15254cc1b6d69431d47b0122e465caed2b1</id>
<content type='text'>
8e89688 added a syntax error to couchdb.in. This fixes it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
8e89688 added a syntax error to couchdb.in. This fixes it.
</pre>
</div>
</content>
</entry>
</feed>
