<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/src/fabric/include/fabric2.hrl, 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>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>Reserve aegis namespace under ?CLUSTER_CONFIG</title>
<updated>2020-06-17T12:12:18+00:00</updated>
<author>
<name>Eric Avdey</name>
<email>eiri@eiri.ca</email>
</author>
<published>2020-06-17T01:55:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=7e008d0fa3d4ba0fcc31989d3ded853683ecaf81'/>
<id>7e008d0fa3d4ba0fcc31989d3ded853683ecaf81</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove on_commit handler from fabric2_fdb</title>
<updated>2020-06-02T17:33:07+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-06-02T16:07:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=9f8b4fdb26414b556edeaaa1d56bf13d418e0c87'/>
<id>9f8b4fdb26414b556edeaaa1d56bf13d418e0c87</id>
<content type='text'>
Update db handles right away as soon we db verison is checked. This ensures
concurrent requests will get access to the current handle as soon as possible
and may avoid doing extra version checks and re-opens.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update db handles right away as soon we db verison is checked. This ensures
concurrent requests will get access to the current handle as soon as possible
and may avoid doing extra version checks and re-opens.
</pre>
</div>
</content>
</entry>
<entry>
<title>background deletion for soft-deleted database</title>
<updated>2020-05-13T15:19:36+00:00</updated>
<author>
<name>jiangph</name>
<email>jiangph@cn.ibm.com</email>
</author>
<published>2020-04-23T12:41:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=91becc17bc65efbb4d014a33b7a7f511d7860e5d'/>
<id>91becc17bc65efbb4d014a33b7a7f511d7860e5d</id>
<content type='text'>
allow background job to delete soft-deleted database according to
specified criteria to release space. Once database is hard-deleted,
the data can't be fetched back.

Co-authored-by: Nick Vatamaniuc&lt;vatamane@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
allow background job to delete soft-deleted database according to
specified criteria to release space. Once database is hard-deleted,
the data can't be fetched back.

Co-authored-by: Nick Vatamaniuc&lt;vatamane@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow specifying FDB transaction options</title>
<updated>2020-04-27T19:09:37+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-04-24T23:37:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=b07a6292a95f1145567a27e7041e609bda5f2877'/>
<id>b07a6292a95f1145567a27e7041e609bda5f2877</id>
<content type='text'>
With the latest erlfdb release v1.1.0 we have the ability to set default
transaction options on the database handle. Once set, those are inherited by
every transaction started from that handle.

Use this feature to give advanced users a way to experiment with various
transaction options. Descriptions of those options in the default.ini file have
been mostly a copy and paste from the fdb_c_option.g.h file from the client
library.

In addition, specify some safer default values for transaction timeouts (1min)
and retry limit (100). These quite conservative and are basically something
less that "infinity". In the future these may be adjusted lower.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the latest erlfdb release v1.1.0 we have the ability to set default
transaction options on the database handle. Once set, those are inherited by
every transaction started from that handle.

Use this feature to give advanced users a way to experiment with various
transaction options. Descriptions of those options in the default.ini file have
been mostly a copy and paste from the fdb_c_option.g.h file from the client
library.

In addition, specify some safer default values for transaction timeouts (1min)
and retry limit (100). These quite conservative and are basically something
less that "infinity". In the future these may be adjusted lower.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add native encryption support</title>
<updated>2020-04-27T13:28:03+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2020-04-08T15:40:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=a5fded8c5d47bcc14699429a46dfb0cec6bd9e76'/>
<id>a5fded8c5d47bcc14699429a46dfb0cec6bd9e76</id>
<content type='text'>
A new application, aegis, is introduced to provide strong at-rest
protection of CouchDB data (where possible).

Currently we encrypt the following values (if enabled):

1. Document content
2. Attachment content
3. Index values

Things not encrypted:

1. _all_docs
2. _changes
3. doc id
4. doc rev
5. Index keys
6. All other metadata

Co-Authored-By: Eric Avdey &lt;eiri@apache.org&gt;
Co-Authored-By: Robert Samuel Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A new application, aegis, is introduced to provide strong at-rest
protection of CouchDB data (where possible).

Currently we encrypt the following values (if enabled):

1. Document content
2. Attachment content
3. Index values

Things not encrypted:

1. _all_docs
2. _changes
3. doc id
4. doc rev
5. Index keys
6. All other metadata

Co-Authored-By: Eric Avdey &lt;eiri@apache.org&gt;
Co-Authored-By: Robert Samuel Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor expiring cache FDB interface</title>
<updated>2020-04-16T05:09:30+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jaydoane@apache.org</email>
</author>
<published>2020-04-16T05:01:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=0eb1a73af424aa6403c420f8f6ebb3fe4d760f62'/>
<id>0eb1a73af424aa6403c420f8f6ebb3fe4d760f62</id>
<content type='text'>
- Rename `clear_expired_range` to `clear_range_to`
- Move `EXPIRING_CACHE` layer prefix into fabric2.hrl
- Move primary key setting to just after key &amp; value calculations
- Factor out `get_val/2` to lookup a key from FDB and unpack the value
- Factor out `prefixes/2`
- Factor out `fold_range/5`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Rename `clear_expired_range` to `clear_range_to`
- Move `EXPIRING_CACHE` layer prefix into fabric2.hrl
- Move primary key setting to just after key &amp; value calculations
- Factor out `get_val/2` to lookup a key from FDB and unpack the value
- Factor out `prefixes/2`
- Factor out `fold_range/5`
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable configurable binary chunk size</title>
<updated>2020-04-15T17:21:55+00:00</updated>
<author>
<name>Jay Doane</name>
<email>jaydoane@apache.org</email>
</author>
<published>2020-04-15T17:19:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=36364516d32a368b5c58ee197f9c3fbb82394f81'/>
<id>36364516d32a368b5c58ee197f9c3fbb82394f81</id>
<content type='text'>
Currently, the size of binary chunks used for values is fixed at the FDB
imposed limit of 100kB, although they recommend using 10KB [1], (also
note they subtly change units).

This makes that value configurable, allowing e.g. benchmarks to compare
performance of runs with varying chunk size. The cost is a ~10µs config
lookup penalty each time data needs to be chunked.

[1] https://www.foundationdb.org/files/record-layer-paper.pdf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, the size of binary chunks used for values is fixed at the FDB
imposed limit of 100kB, although they recommend using 10KB [1], (also
note they subtly change units).

This makes that value configurable, allowing e.g. benchmarks to compare
performance of runs with varying chunk size. The cost is a ~10µs config
lookup penalty each time data needs to be chunked.

[1] https://www.foundationdb.org/files/record-layer-paper.pdf
</pre>
</div>
</content>
</entry>
<entry>
<title>Compress doc bodies and attachments</title>
<updated>2020-04-07T17:55:53+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-04-04T20:45:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=d6ec9935453c4f0fe26174a472cdf3e4cb9c5e60'/>
<id>d6ec9935453c4f0fe26174a472cdf3e4cb9c5e60</id>
<content type='text'>
In CouchDB &lt; 4.x we compressed document bodies by default, so enable it
for 4.x as well.

Use the basic term_to_binary compression mechanism for:

 - Document bodies

 - Local document bodies

 - Attachments, but only if they have not already been compressed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In CouchDB &lt; 4.x we compressed document bodies by default, so enable it
for 4.x as well.

Use the basic term_to_binary compression mechanism for:

 - Document bodies

 - Local document bodies

 - Attachments, but only if they have not already been compressed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support soft-deletion in fabric level</title>
<updated>2020-04-07T16:23:02+00:00</updated>
<author>
<name>jiangph</name>
<email>jiangph@cn.ibm.com</email>
</author>
<published>2020-04-07T00:35:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=0d1cf6115bcd9d3bd7f63032988c2a569997a3ae'/>
<id>0d1cf6115bcd9d3bd7f63032988c2a569997a3ae</id>
<content type='text'>
Instead of automatically and immediately removing data and index in
database after a delete operation, soft-deletion allows to restore
the deleted data back to original state due to a “fat finger”or
undesired delete operation, up to defined periods, such as 48 hours.

Co-Authored-By: Paul J. Davis &lt;paul.joseph.davis@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of automatically and immediately removing data and index in
database after a delete operation, soft-deletion allows to restore
the deleted data back to original state due to a “fat finger”or
undesired delete operation, up to defined periods, such as 48 hours.

Co-Authored-By: Paul J. Davis &lt;paul.joseph.davis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
