Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INDY-1870: Update storages.md #999

Merged
merged 6 commits into from
Nov 28, 2018

Conversation

ashcherbakov
Copy link
Contributor

No description provided.

vimmerru
vimmerru previously approved these changes Nov 27, 2018
Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
vimmerru
vimmerru previously approved these changes Nov 27, 2018
docs/storage.md Outdated
States and Caches can be deterministically re-created from the Transaction Log.

- States and Caches can be deterministically re-created from the Transaction Log.
- There 9 storages associated with the Ledgers (3 for each of the ledgers):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are...

docs/storage.md Outdated
- It's possible to get the current value (state) for a key, as well as
a value from the past (defined by a state root hash).
- The state is built from a ledger, hence each ledger will usually have a corresponding state. State can be reconstructed from the Ledger.
- There 3 storages associated with every Ledger:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are...

docs/storage.md Outdated
then use this database to get the sequence number and then use the sequence number of get the transaction from the ledger.
This database is currently maintained only for domain ledger.
#### 5. Request to Transaction Mapping Database
- This database stores the mapping `request_digest -> leger_id<delimiter>seq_no` in a key value store.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ledger_id

docs/storage.md Outdated
- ChunkedFileStore: `storage/chunked_file_store.py`
- DirectoryStore: `storage/directory_store.py`
- `storage/kv_store.py`
- `storage` module
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

storage package?

Signed-off-by: ashcherbakov <alexander.sherbakov@dsr-corporation.com>
@andkononykhin andkononykhin merged commit c38d6b8 into hyperledger:master Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants