Re: Purge Private Data - by individual transaction - on trigger


David Enyeart
 

The only mention of the "private data store" aka "private writeset storage" is this sentence:

"Upon validation/commit, the private data is moved to their copy of the private state database and private writeset storage. The private data is then deleted from the transient data store."

Basically, it is a data structure of private data organized by block (similar to the public write sets in the blockchain), that is used to feed other peers that are members of the collection when they are catching up the block height. It is not documented further since it is an implementation detail abstracted from user, but will become more important to document once the purge feature gets implemented.


Dave Enyeart

"Simeon MacMillen" ---05/05/2021 10:50:22 AM---Hi David, In your original email, you mentioned a private data store in addition

From: "Simeon MacMillen" <industrial_eng@...>
To: David Enyeart <enyeart@...>
Cc: fabric <fabric@...>
Date: 05/05/2021 10:50 AM
Subject: [EXTERNAL] Re: [Hyperledger Fabric] Purge Private Data - by individual transaction - on trigger
Sent by: fabric@...





Hi David,

In your original email, you mentioned a private data store in addition
to the transient and private [world] state.  Is the "private data store"
a separate, append-only ledger used with collections?

If there is any documentation on this, I would be interested to learn
more.  (I tried searching through the documentation but haven't located
any references to this term.  The Private Data page only mentions the
state database and transient store.)


Regards,
Simeon MacMillen

Ref:
https://hyperledger-fabric.readthedocs.io/en/release-2.3/private-data/private-data.html 
Ref:
https://hyperledger-fabric.readthedocs.io/en/release-2.3/private-data-arch.html 



On 5/4/21 7:12 AM, David Enyeart wrote:

        Note that deletePrivateData only deletes from private state.
The private data remains in the private data store (committed data) and
transient store (uncommitted data) for other peers that may be running
behind to pull.









Join fabric@lists.hyperledger.org to automatically receive all group messages.