<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/src/fabric, 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>Allow applying per-transaction options with fabric2_fdb:transactional/3</title>
<updated>2021-03-03T18:21:11+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2021-03-02T22:53:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=2ef72d60945bcda80845015cfb7c8426c4f9d0f3'/>
<id>2ef72d60945bcda80845015cfb7c8426c4f9d0f3</id>
<content type='text'>
1) First, as a cleanup, remove DB `Options` from the `init_db/3 call. We always
follow `init_db/3` (sometimes called through the
`fabric2_fdb:transactional(DbName, ...)` with a `create(TxDb, Options)` or
`open(TxDb, Options)` call, where we overrode `Options` anyway. The only time
we didn't follow it up with a `create/2` or `open/2` is when dbs are deleted
where `Options` wouldn't matter.

2) Add a new `fabric2_fdb:transactional(DbName|Db, TxOptions, Fun)` call which
allows specifying per-transaction TX options in the `TxOptions` arg. The format
of `TxOptions` is `#{option_name_as_atom =&gt; integer | binary}`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1) First, as a cleanup, remove DB `Options` from the `init_db/3 call. We always
follow `init_db/3` (sometimes called through the
`fabric2_fdb:transactional(DbName, ...)` with a `create(TxDb, Options)` or
`open(TxDb, Options)` call, where we overrode `Options` anyway. The only time
we didn't follow it up with a `create/2` or `open/2` is when dbs are deleted
where `Options` wouldn't matter.

2) Add a new `fabric2_fdb:transactional(DbName|Db, TxOptions, Fun)` call which
allows specifying per-transaction TX options in the `TxOptions` arg. The format
of `TxOptions` is `#{option_name_as_atom =&gt; integer | binary}`
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow specifying an end_key for fold_changes</title>
<updated>2020-11-17T21:53:52+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2020-11-13T21:13:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=0e91f2f608d4a920b6c22f1fe1eb9e0ea6982d5a'/>
<id>0e91f2f608d4a920b6c22f1fe1eb9e0ea6982d5a</id>
<content type='text'>
This is useful so that read conflicts on the changes feed will
eventually be resolved. Without an end key specified a reader could end
up in an infinite conflict retry loop if there are clients updating
documents in the database.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is useful so that read conflicts on the changes feed will
eventually be resolved. Without an end key specified a reader could end
up in an infinite conflict retry loop if there are clients updating
documents in the database.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow snapshots through fabric2_fdb:transactional</title>
<updated>2020-11-17T21:53:52+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2020-11-13T20:08:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=1b30d0810ac0d985676c90dc1b6532f9fb84284c'/>
<id>1b30d0810ac0d985676c90dc1b6532f9fb84284c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix flaky test</title>
<updated>2020-11-10T20:09:32+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2020-11-10T18:46:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=1a138804f692d0e578a7d4a19f9f13099a59a1cd'/>
<id>1a138804f692d0e578a7d4a19f9f13099a59a1cd</id>
<content type='text'>
Waiting for the timeout option to be set means we could still sneak in
and grab the old FDB database handle before fabric2_server updated it in
the application environment.

This new approach just waits until the handle has been updated by
watching the value in the application environment directly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Waiting for the timeout option to be set means we could still sneak in
and grab the old FDB database handle before fabric2_server updated it in
the application environment.

This new approach just waits until the handle has been updated by
watching the value in the application environment directly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add an "encryption" object to db info</title>
<updated>2020-11-06T18:10:51+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2020-11-04T15:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=475ff60c3f66bfedda63c5d55946c241edb48082'/>
<id>475ff60c3f66bfedda63c5d55946c241edb48082</id>
<content type='text'>
The encryption object contains a boolean "enabled"
property. Additional properties might be added by the key manager
which will appear in the "key_manager" sub-object.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The encryption object contains a boolean "enabled"
property. Additional properties might be added by the key manager
which will appear in the "key_manager" sub-object.
</pre>
</div>
</content>
</entry>
<entry>
<title>Export fabric2_fdb:chunkify_binary/1,2</title>
<updated>2020-09-30T15:08:44+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2020-08-06T17:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=ddae72a707ce51c229da9188275f18664302cba7'/>
<id>ddae72a707ce51c229da9188275f18664302cba7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>Introduce couch_replicator_jobs abstraction module</title>
<updated>2020-09-15T20:13:46+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-08-28T08:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=3c9b7540cbb41225b35c89b741e0c5b83cdbf4e1'/>
<id>3c9b7540cbb41225b35c89b741e0c5b83cdbf4e1</id>
<content type='text'>
This is the `couch_jobs` abstraction module. All replicator calls to
`couch_jobs` should go through it. This module takes care of adding types to
some of the API calls, handles maintencence of the RepId -&gt; JobId mappings when
jobs are added and removed, and some subscription logic.

`fabric2.hrl` include file is updated with the definition of the
`?REPLICATION_IDS` prefix where the RepId -&gt; JobId keyspace lives.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the `couch_jobs` abstraction module. All replicator calls to
`couch_jobs` should go through it. This module takes care of adding types to
some of the API calls, handles maintencence of the RepId -&gt; JobId mappings when
jobs are added and removed, and some subscription logic.

`fabric2.hrl` include file is updated with the definition of the
`?REPLICATION_IDS` prefix where the RepId -&gt; JobId keyspace lives.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add after_db_create/2 and after_db_delete/2 callbacks to fabric</title>
<updated>2020-09-15T20:13:46+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-08-28T08:30:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=36a6b390f4f5e236401224ed30dea7282be965a5'/>
<id>36a6b390f4f5e236401224ed30dea7282be965a5</id>
<content type='text'>
`after_db_create/2` and `after_db_delete/2` are when databases are created and
deleted respectively. The callbacks are called with both the database name and
the database instance UUID values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`after_db_create/2` and `after_db_delete/2` are when databases are created and
deleted respectively. The callbacks are called with both the database name and
the database instance UUID values.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow creating new deleted documents</title>
<updated>2020-09-03T17:36:50+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-09-01T19:28:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=947308d61d8016d9624d53a1a4dc91b7d92a0464'/>
<id>947308d61d8016d9624d53a1a4dc91b7d92a0464</id>
<content type='text'>
This makes it compatible with CouchDB &lt;= 3.x where we can create deleted
documents.

How to check:

```
$ http put $DB1/mydb
$ http put $DB1/mydb/foo _deleted:='true' a=b
{
    "id": "foo",
    "ok": true,
    "rev": "1-ad7eb689fcae75e7a7edb57dc1f30939"
}
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it compatible with CouchDB &lt;= 3.x where we can create deleted
documents.

How to check:

```
$ http put $DB1/mydb
$ http put $DB1/mydb/foo _deleted:='true' a=b
{
    "id": "foo",
    "ok": true,
    "rev": "1-ad7eb689fcae75e7a7edb57dc1f30939"
}
```
</pre>
</div>
</content>
</entry>
</feed>
