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

If connection-config has no roots at all, return error #125

Open
tock-ibm opened this issue Mar 24, 2022 · 0 comments
Open

If connection-config has no roots at all, return error #125

tock-ibm opened this issue Mar 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@tock-ibm
Copy link
Contributor

tock-ibm commented Mar 24, 2022

// ConnectionConfig required configuration in order to
// open session with BCDB instance, replica set informations
// servers root CAs
type ConnectionConfig struct {
// List of replicas URIs client can connect to
ReplicaSet []*Replica
// Keeps path to the server's root CA
RootCAs []string
// Logger instance, if nil an internal logger is created
Logger *logger.SugarLogger
}

when creating a db instance in bcdb.Create, check that there is

  • at least one CA cert
  • at least one replica
@tock-ibm tock-ibm added the bug Something isn't working label Mar 24, 2022
MayRosenbaum pushed a commit to MayRosenbaum/orion-sdk-go that referenced this issue Oct 29, 2022
Currently, we are doing so many serial sync writes
to metadata databases in the block store. This commit
uses batch writes and goroutines to parallelize these
sync writes.

As existing recovery logic is robust, node failure during
any parallel operations is not a problem.

Signed-off-by: senthil <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant