Merge lp:~pbeaman/akiban-persistit/fix_doc_2012018 into lp:akiban-persistit

Proposed by Peter Beaman
Status: Merged
Merged at revision: 325
Proposed branch: lp:~pbeaman/akiban-persistit/fix_doc_2012018
Merge into: lp:akiban-persistit
Diff against target: 30 lines (+6/-2)
2 files modified
doc/PhysicalStorage.rst (+5/-1)
doc/Transactions.rst (+1/-1)
To merge this branch: bzr merge lp:~pbeaman/akiban-persistit/fix_doc_2012018
Reviewer Review Type Date Requested Status
Nathan Williams Approve
Review via email: mp+110874@code.launchpad.net

Description of the change

Two extremely minor documentation changes: (a) link to Snapshot Isolation Wikipedia page was broken, (b) a footnote in PhysicalStorage.rst was still using asciidoc markup.

NOTE: DOC ONLY DOES NOT REQUIRE A BUILD.

To post a comment you must log in.
Revision history for this message
Nathan Williams (nwilliams) wrote :

Looks good.

Feel free to merge into build and push that to trunk, since going through LBJ isn't needed.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/PhysicalStorage.rst'
2--- doc/PhysicalStorage.rst 2012-06-11 21:25:37 +0000
3+++ doc/PhysicalStorage.rst 2012-06-18 17:53:23 +0000
4@@ -99,9 +99,13 @@
5
6 Then Persistit locates and reapplies all transaction records in the journal for transactions that committed after the last valid checkpoint timestamp. These transactions are reapplied to the database, with the result that:
7
8-- The B+Tree index and data structures are intact. All store, fetch, remove and traverse operations will complete successfully. footnote:[Persistit provides the utility class com.persistit.IntegrityCheck to verify the integrity of a Volume.]
9+- The B+Tree index and data structures are intact. All store, fetch, remove and traverse operations will complete successfully.
10 - All committed transactions are present in the recovered database. (See :ref:`Transactions` for durability determined by ``CommitPolicy``.)
11
12+.. note::
13+
14+ Persistit provides the utility class ``com.persistit.IntegrityCheck`` to verify the integrity of individual Trees or entire Volumes.
15+
16 For updates occurring outside of a transaction the resulting state is identical to some consistent, reasonably recent state prior to the termination. (“Reasonably recent” depends on the checkpoint interval, which by default is set to two minutes.)
17
18 Flush/Force/Checkpoint
19
20=== modified file 'doc/Transactions.rst'
21--- doc/Transactions.rst 2012-06-11 21:25:37 +0000
22+++ doc/Transactions.rst 2012-06-18 17:53:23 +0000
23@@ -79,7 +79,7 @@
24 Optimistic Transaction Scheduling
25 ---------------------------------
26
27-To achieve high performance and scalability, Persistit supports an optimistic transaction scheduling protocol called MVCC with http://wikipedia.org/wiki/Snapshot_isolation[Snapshot Isolation]. Under this protocol multiple threads are permitted to execute transactions at full speed without blocking until a potentially inconsistent state is recognized. At that point a transaction suspected of causing the inconsistent state is automatically forced to roll back.
28+To achieve high performance and scalability, Persistit supports an optimistic transaction scheduling protocol called MVCC with `Snapshot Isolation <http://wikipedia.org/wiki/Snapshot_isolation>`_. Under this protocol multiple threads are permitted to execute transactions at full speed without blocking until a potentially inconsistent state is recognized. At that point a transaction suspected of causing the inconsistent state is automatically forced to roll back.
29
30 Optimistic scheduling works because transactions usually do not collide, especially when individual database operations are fast, and so in practice transactions are seldom rolled back. But because any transaction may be rolled back at any point, applications must be designed carefully to avoid unintended side-effects. For example, a transaction should never perform non-repeatable or externally visible operations such as file or network I/O within its scope.
31

Subscribers

People subscribed via source and target branches