- 17 Jul, 2018 1 commit
-
-
wenjian3 authored
Part 3 of ledger servicebility improvement: Update common/ledger to use error handling framework Change-Id: I86383b404941c5f922fa2f26ca71af4d91351d4c Signed-off-by:
Wenjian Qiao <wenjianq@gmail.com>
-
- 07 May, 2017 1 commit
-
-
Christopher Ferris authored
note that bddtests/regression/go/ote/ote.go is just whitespace alignment affected by linter. add check_spelling.sh Add check_spelling to Makefile Change-Id: I7029e1223abede0d05758a8b3d435be061824083 Signed-off-by:
Christopher Ferris <chrisfer@us.ibm.com>
-
- 22 Apr, 2017 1 commit
-
-
Will Lahti authored
This CR updates all loggers throughout the code base to use `flogging.MustGetLogger`. This function wraps `logging.MustGetLogger` and tracks the logger modules defined in the system. This enables the ability to set log levels for modules using regular expressions. and make it easy to change the levels for any module and all its submodules with a single command (e.g. gossip, ledger, msp). Change-Id: If5d3229ea2312adb56fc21bfdafbed3d967cf1df Signed-off-by:
Will Lahti <wtlahti@us.ibm.com>
-
- 03 Feb, 2017 1 commit
-
-
manish authored
https://jira.hyperledger.org/browse/FAB-2022 This changes introduced by this CR - Moves the block storage code from package core/ledger/blkstorage to common/ledger/blkstorage - Splits the ledger_interface.go so as to move common interfaces and data type to common/ledger package - Moves some of the util functions to common/ledger package - Moves core/ledger/ordererledger package to orderer/ledger/fsledger orderer folks can futher rename/refactor this as seems suitable to them Change-Id: I759e16f00dc2ec9bb62196121083cf48eae76948 Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 17 Jan, 2017 1 commit
-
-
manish authored
https://jira.hyperledger.org/browse/FAB-1664 This changeset: - Renames package ledger/util/db to ledger/util/leveldbhelper - Implements a leveldb provider (that enables using same leveldb instance as a multiple logical dbs) in util package for being able to reuse across statedb, index, and later for historydb - Implements a provider as a single point of invocation for managing multiple block storage - Uses a single leveldb instance for block storage index - Makes the structures other than providers as private to their respective packages Change-Id: I5f0b3b9aa8ef3ac1ccdce4f3c6fa6d842b5318c1 Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 08 Jan, 2017 1 commit
-
-
manish authored
https://jira.hyperledger.org/browse/FAB-1543 Change-Id: Ib11d1a2fc14cf81dd5380eadf93e73e1c56113e3 Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 26 Oct, 2016 1 commit
-
-
Srinivasan Muralidharan authored
FAB-853 Ledger is removed from . core/peer/peer.go . core/rest/api.go Ledger package itself is removed. "ledgernext" is replaced with "ledger". Change-Id: Ie7dfbd9bf94afa0031aef759fc46929e4fb3b400 Signed-off-by:
Srinivasan Muralidharan <muralisr@us.ibm.com>
-
- 20 Sep, 2016 1 commit
-
-
manish authored
(Rocks) DB WAL adds overheads while using the DB for saving checkpoints for block storage. Avoiding writing to WAL translates the write workload (appending blocks to the blockfile) into a sequential disk writes. This commit changes the way checkpoints are saved - checkpoints are written to DB as before, however since WAL is disabled, the checkpoint stays in-memory only. The in-memory checkpoint is flushed explicitly to disk (via DB flush) at the time of new block file creation. The in-memory checkpoint would implicitly also be flushed to memory at the time of DB shutdown. However, if a crash takes place, the checkpoint available in the DB would be behind the actual block file status. In order to handle this crash scenario, this commit also adds code to perform a scan of the block file beyond the last saved checkpoint and update the checkpoint. Change-Id: Ie88646b225abaa50b595833f5e7ed8d4facae920 Signed-off-by:
manish <manish.sethi@gmail.com>
-
- 15 Sep, 2016 1 commit
-
-
manish authored
This includes structure of the new code conforming to new architecture and a basic working implementation. Change-Id: I885e122c0001ff82301cd1448a7ddad80db931b0 Signed-off-by:
manish <manish.sethi@gmail.com>
-