forked from hyperledger/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LEDGER] merge ledgerstorage with kvledger pkg (hyperledger#942)
* merge ledgerstorage with kvledger pkg The ledgerstorage package encapsulates both pvtdata storage and block storage. We needed this package as - we had to have 2-phase commit between pvtdata storage and block storage. - we had a recovery logic that was needed after a commit failure or peer crash between pvtdata commit and blockstore commit. - we treated pvtdata store as a pvt blockstore and blockstore as public block store. After introducing the support for peer rollback, we removed the 2-phase commit between requirement between the pvtdata storage and block storage. As a result, the pvtdata storage can be ahead of blockstore. Hence, the recovery logic was also remoted. Hence, the motivation for having ledgerstorage package became feeble and hence, we remove it. Signed-off-by: senthil <cendhu@gmail.com> * address review comments Signed-off-by: senthil <cendhu@gmail.com>
- Loading branch information
Showing
20 changed files
with
795 additions
and
876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.