<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git, branch db-softdeletion</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>Support soft-deletion in chttpd level</title>
<updated>2020-04-07T00:45:14+00:00</updated>
<author>
<name>jiangph</name>
<email>jiangph@cn.ibm.com</email>
</author>
<published>2020-04-07T00:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=3b0f7d5aba37db83cebb88ab994056bee5ace4e7'/>
<id>3b0f7d5aba37db83cebb88ab994056bee5ace4e7</id>
<content type='text'>
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>
Co-Authored-By: Paul J. Davis &lt;paul.joseph.davis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Support soft-deletion in fabric level</title>
<updated>2020-04-07T00:35:05+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=356949643aca23214e3f5737e2d32c2573734ca7'/>
<id>356949643aca23214e3f5737e2d32c2573734ca7</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>
<entry>
<title>set DbPrefix with value allocated with erlfdb_hca</title>
<updated>2020-03-24T06:10:31+00:00</updated>
<author>
<name>jiangph</name>
<email>jiangph@cn.ibm.com</email>
</author>
<published>2020-03-23T12:03:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=2c704acc78c4f9f7cf8bb40420be5b8c915d39b9'/>
<id>2c704acc78c4f9f7cf8bb40420be5b8c915d39b9</id>
<content type='text'>
Previously we are using the DbName to set DbPrefix for clarity. In order
to support soft-deletion while providing efficient value for DbPrefix
allocation, we use value allocated with erlfdb_hca for DbPrefix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously we are using the DbName to set DbPrefix for clarity. In order
to support soft-deletion while providing efficient value for DbPrefix
allocation, we use value allocated with erlfdb_hca for DbPrefix.
</pre>
</div>
</content>
</entry>
<entry>
<title>add info endpoint for fdb stored views (#2706)</title>
<updated>2020-03-23T17:43:34+00:00</updated>
<author>
<name>Tony Sun</name>
<email>tony.sun427@gmail.com</email>
</author>
<published>2020-03-23T17:43:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=f81f117033422c463d6230569973c9c70a1d2565'/>
<id>f81f117033422c463d6230569973c9c70a1d2565</id>
<content type='text'>
* add info endpoint

This commit adds the info endpoint for design docs stored in fdb.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add info endpoint

This commit adds the info endpoint for design docs stored in fdb.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix couch_jobs after recent db re-creation commit</title>
<updated>2020-03-22T19:08:46+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-03-22T00:00:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=3fba9ff5bea733b4c722d2bb4f924afe416f6e35'/>
<id>3fba9ff5bea733b4c722d2bb4f924afe416f6e35</id>
<content type='text'>
The e520294c7ee3f55c3e8cc7d528ff37a5a93c800f commit inadvertently
changed the `fabric2_fdb:refresh/1` head matching to accept db
instances with no names. `couch_jobs` uses those but they are not
cached in fabric2_server. So here we return to the previous matching
rule where contexts without names don't get refreshed from the cache.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The e520294c7ee3f55c3e8cc7d528ff37a5a93c800f commit inadvertently
changed the `fabric2_fdb:refresh/1` head matching to accept db
instances with no names. `couch_jobs` uses those but they are not
cached in fabric2_server. So here we return to the previous matching
rule where contexts without names don't get refreshed from the cache.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a fabric doc fold test when db is re-created</title>
<updated>2020-03-21T23:47:04+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-03-21T23:31:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=a008c6d0b5da269d519bd2a6ef3aa6e9aa22abc2'/>
<id>a008c6d0b5da269d519bd2a6ef3aa6e9aa22abc2</id>
<content type='text'>
Check that on a transaction restarts `database_does_not_exist` error is
thrown properly if database was re-created.

Also we forgot to properly unload the mocked erlfdb module in
`tx_too_old_mock_erlfdb/0` so we make sure to do that, otherwise it
has a chance of messing up subsequent tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check that on a transaction restarts `database_does_not_exist` error is
thrown properly if database was re-created.

Also we forgot to properly unload the mocked erlfdb module in
`tx_too_old_mock_erlfdb/0` so we make sure to do that, otherwise it
has a chance of messing up subsequent tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix database re-creation</title>
<updated>2020-03-21T21:52:39+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-03-21T03:14:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=e520294c7ee3f55c3e8cc7d528ff37a5a93c800f'/>
<id>e520294c7ee3f55c3e8cc7d528ff37a5a93c800f</id>
<content type='text'>
Previously it was possible for a database to be re-created while a `Db` handle
was open and the `Db` handle would continue operating on the new db without any
error.

To avoid that situation ensure instance UUID is explicitly checked during open
and reopen calls. This includes checking it after the metadata is loaded in
`fabric2_fdb:open/2` and when fetching the handle from the cache.

Also, create a `{uuid, UUID}` option to allow specifying a particular instance
UUID when opening a database. If that instance doesn't exist raise a
`database_does_not_exist` error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously it was possible for a database to be re-created while a `Db` handle
was open and the `Db` handle would continue operating on the new db without any
error.

To avoid that situation ensure instance UUID is explicitly checked during open
and reopen calls. This includes checking it after the metadata is loaded in
`fabric2_fdb:open/2` and when fetching the handle from the cache.

Also, create a `{uuid, UUID}` option to allow specifying a particular instance
UUID when opening a database. If that instance doesn't exist raise a
`database_does_not_exist` error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2681 from apache/prototype/fdb-layer-get-doc-spans</title>
<updated>2020-03-18T20:18:00+00:00</updated>
<author>
<name>Russell Branca</name>
<email>chewbranca@apache.org</email>
</author>
<published>2020-03-18T20:18:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=15509f29c74a8dfca5126f39aaec28423b1f913e'/>
<id>15509f29c74a8dfca5126f39aaec28423b1f913e</id>
<content type='text'>
Add additional get_doc spans</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add additional get_doc spans</pre>
</div>
</content>
</entry>
<entry>
<title>Add additional get_doc spans</title>
<updated>2020-03-18T20:02:50+00:00</updated>
<author>
<name>Russell Branca</name>
<email>chewbranca@apache.org</email>
</author>
<published>2020-03-18T20:02:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=41be92bb94bc2b5bdc4070d3f48a6e27179ca154'/>
<id>41be92bb94bc2b5bdc4070d3f48a6e27179ca154</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reformat and simplify couch_views_indexer_test module</title>
<updated>2020-03-17T22:19:01+00:00</updated>
<author>
<name>Nick Vatamaniuc</name>
<email>vatamane@apache.org</email>
</author>
<published>2020-03-17T20:53:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=301db96fd7a9ab12f0fd787ee6cfeadf6c212c50'/>
<id>301db96fd7a9ab12f0fd787ee6cfeadf6c212c50</id>
<content type='text'>
 * Use the `row/3` helper function in a few more places

 * Make a `run_query/3` function to shorten all the query calls

 * A few minor emilio suggesions (whitespace, comma issues, ...)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * Use the `row/3` helper function in a few more places

 * Make a `run_query/3` function to shorten all the query calls

 * A few minor emilio suggesions (whitespace, comma issues, ...)
</pre>
</div>
</content>
</entry>
</feed>
