-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
enhancementNew feature or requestNew feature or requestneeds triageWaiting for discussion / prioritization by teamWaiting for discussion / prioritization by team
Description
What would you like to be added
type Options struct {
Database string
ValueDir string
BadgerFileLoadingMode string
BadgerIsOpenInReadOnlyMode bool // <- add this option, corresponding helper function for the option and set badger.Options.ReadOnly = true
}Why this is needed
I am implementing a simple ocsp responder that read from step-ca badgerdb and needs to open it in readonly mode since step-ca server is opening badgerdb in rw mode, the db cannot be open by other process with rw mode since I am using github.com/smallstep/nosql library to interact with step-ca badgerdb
I can open a PR to add the option if it is ok
lukasz-lobocki
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneeds triageWaiting for discussion / prioritization by teamWaiting for discussion / prioritization by team