Skip to content
This repository was archived by the owner on Sep 26, 2019. It is now read-only.

Conversation

@antonydenyer
Copy link
Contributor

  • Wire up metrics system to Privacy DBs
  • Use PrivacyParametersBuilder to build PrivacyParameters
  • Refactor PrivacyParameters to expose default options
  • Refactor test builders to use PrivacyParameters.DEFAULT
  • Use URI in Enclave

@antonydenyer antonydenyer force-pushed the master branch 4 times, most recently from 5b3c905 to 9c53623 Compare April 6, 2019 12:46
- Use PrivacyParametersBuilder to build PrivacyParameters
- refactor PrivacyParameters to expose default options
- refactor test builders to use PrivacyParameters.DEFAULT
- Use URI in Enclave
@shemnon
Copy link
Contributor

shemnon commented Apr 9, 2019

I think this PR needs a new title. Metrics is the smallest part of it and refactoring the privacy parameters is the main focus. Metrics isn't used anywhere and is just passed through to the RocksDB config.

As far as the metrics goes, we need to update rocksDB's use of metrics to add a label so we know which DB it is getting stats for: the blockchain DB or one of the privacy DBs. But that should ideally be in its own PR.

Copy link
Contributor

@shemnon shemnon left a comment

Choose a reason for hiding this comment

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

Approved if the Builder moves to an inner class for consistency. But I'm not locked into that if you want to iterate.

@antonydenyer antonydenyer changed the title [PRIV-41] Use metrics system for private state db [PRIV-41] Refactor PrivacyParameters config to use builder pattern Apr 9, 2019
@shemnon shemnon merged commit 99b610d into PegaSysEng:master Apr 9, 2019
notlesh pushed a commit to notlesh/pantheon that referenced this pull request Apr 24, 2019
…egaSysEng#1226)

* [PRIV-41] Use metrics system for private state db

- Use PrivacyParametersBuilder to build PrivacyParameters
- refactor PrivacyParameters to expose default options
- refactor test builders to use PrivacyParameters.DEFAULT
- Use URI in Enclave

* Fix: enclave tests from bad merge

* Fix privacy acceptance tests after db configuration changes

* Switch to use nested class for PrivacyParametersBuilder
notlesh pushed a commit to notlesh/pantheon that referenced this pull request May 4, 2019
…egaSysEng#1226)

* [PRIV-41] Use metrics system for private state db

- Use PrivacyParametersBuilder to build PrivacyParameters
- refactor PrivacyParameters to expose default options
- refactor test builders to use PrivacyParameters.DEFAULT
- Use URI in Enclave

* Fix: enclave tests from bad merge

* Fix privacy acceptance tests after db configuration changes

* Switch to use nested class for PrivacyParametersBuilder
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants