blockToLive for implicit collection #fabric


Kevin X
 

What is blockToLive fori implicit private data collection? Looking at the code, it appears to be 0, i.e. never purged.

Can someone please confirm?


David Enyeart
 

That's right, implicit collections always use blockToLive=0, the private data is never purged. You would need to create an explicit collection per org if you'd like to set the property values such as blockToLive.


Dave Enyeart

"Kevin X" ---01/17/2021 10:51:14 PM---What is blockToLive fori implicit private data collection? Looking at the code, it appears to be 0,

From: "Kevin X" <kevinx8888@...>
To: fabric@...
Date: 01/17/2021 10:51 PM
Subject: [EXTERNAL] [Hyperledger Fabric] blockToLive for implicit collection #fabric
Sent by: fabric@...





What is blockToLive fori implicit private data collection? Looking at the code, it appears to be 0, i.e. never purged.

Can someone please confirm?