<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git/src/ebtree, 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>Optimize lookup/3</title>
<updated>2021-02-27T09:51:12+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2021-02-27T09:51:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=45d4039dbe2cbefe92d13105542596690d05b3be'/>
<id>45d4039dbe2cbefe92d13105542596690d05b3be</id>
<content type='text'>
A tidier version of https://github.com/apache/couchdb/pull/3384 that
saves an unnecessary call to collate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A tidier version of https://github.com/apache/couchdb/pull/3384 that
saves an unnecessary call to collate.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3384 from apache/ebtree-lookup-collate-eq</title>
<updated>2021-02-26T20:59:15+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2021-02-26T20:59:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=3d4a827bda9ae60cf8d223e3d213c1852b32b4f1'/>
<id>3d4a827bda9ae60cf8d223e3d213c1852b32b4f1</id>
<content type='text'>
use collate in lookup</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use collate in lookup</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ebtree:lookup_multi/3</title>
<updated>2021-02-26T19:24:06+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2021-02-26T18:37:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=ec4b2132918338d893a800a823cf5f12d5b2efd5'/>
<id>ec4b2132918338d893a800a823cf5f12d5b2efd5</id>
<content type='text'>
If one of the provided lookup keys doesn't exist in the ebtree, it can
inadvertently prevent a second lookup key from being found if it the
first key greater than the missing lookup key is equal to the second
lookup key.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If one of the provided lookup keys doesn't exist in the ebtree, it can
inadvertently prevent a second lookup key from being found if it the
first key greater than the missing lookup key is equal to the second
lookup key.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add failing cases for ebtree:lookup_multi/3 bug</title>
<updated>2021-02-26T19:24:06+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2021-02-26T19:08:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=73875b5233138dcdd965bbd36d9581ca625e3a2d'/>
<id>73875b5233138dcdd965bbd36d9581ca625e3a2d</id>
<content type='text'>
These two test cases expose the subtle bug in ebtree:lookup_multi/3
where a key that doesn't exist in the tree can prevent a subsequent
lookup key from matching in the same KV node.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These two test cases expose the subtle bug in ebtree:lookup_multi/3
where a key that doesn't exist in the tree can prevent a subsequent
lookup key from matching in the same KV node.
</pre>
</div>
</content>
</entry>
<entry>
<title>use collate in lookup</title>
<updated>2021-02-26T19:05:05+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2021-02-26T19:05:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=6f6db1ee27d8ac2879b4149378ea6b94dc5ddc42'/>
<id>6f6db1ee27d8ac2879b4149378ea6b94dc5ddc42</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update README.md</title>
<updated>2021-01-15T11:46:53+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2021-01-15T11:46:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=b2a34dc1139318312d01e328d6585e674ea716c5'/>
<id>b2a34dc1139318312d01e328d6585e674ea716c5</id>
<content type='text'>
1. The caching effort was a bust and has been removed. 2) chunkify can be done externally with a custom persist_fun.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. The caching effort was a bust and has been removed. 2) chunkify can be done externally with a custom persist_fun.</pre>
</div>
</content>
</entry>
<entry>
<title>Assure that all node ids are the same length</title>
<updated>2020-11-12T23:27:46+00:00</updated>
<author>
<name>Robert Newson</name>
<email>rnewson@apache.org</email>
</author>
<published>2020-11-12T23:27:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=263efd21d3e8f8e9c15bcbfd5866ec55cee10336'/>
<id>263efd21d3e8f8e9c15bcbfd5866ec55cee10336</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid deleting UUID keys that start with zeros</title>
<updated>2020-11-12T22:59:18+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2020-11-12T22:57:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=e11ab46a16a2fd9ecef3bc813e2d73a4ff84888d'/>
<id>e11ab46a16a2fd9ecef3bc813e2d73a4ff84888d</id>
<content type='text'>
Any ebtree that uses chunked key encoding will accidentally wipe out any
nodes that have a UUID with more than one leading zero byte.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Any ebtree that uses chunked key encoding will accidentally wipe out any
nodes that have a UUID with more than one leading zero byte.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove ebtree caching</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-10T17:44:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=8267950dc8055b883e599cd993e688de1cec3ab4'/>
<id>8267950dc8055b883e599cd993e688de1cec3ab4</id>
<content type='text'>
The ebtree caching layer does not work correctly in conjunction with
FoundationDB transaction retry semantics. If we incorrectly cache nodes
that are not actually read from FoundationDB, a retried transaction will
rely on incorrectly cached state and corrupt the ebtree persisted in
FoundationDB.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ebtree caching layer does not work correctly in conjunction with
FoundationDB transaction retry semantics. If we incorrectly cache nodes
that are not actually read from FoundationDB, a retried transaction will
rely on incorrectly cached state and corrupt the ebtree persisted in
FoundationDB.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug in ebtree:umerge_members/4</title>
<updated>2020-09-17T18:53:51+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2020-09-16T19:23:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=39aa7423b2e79d9859f8626b1678636dba738c9f'/>
<id>39aa7423b2e79d9859f8626b1678636dba738c9f</id>
<content type='text'>
Caught during Elixir tests. I've added a unit test to `ebtree.erl` to
ensure we don't regress in the future.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Caught during Elixir tests. I've added a unit test to `ebtree.erl` to
ensure we don't regress in the future.
</pre>
</div>
</content>
</entry>
</feed>
