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

server/config: add etcd config #562

Merged
merged 4 commits into from
Mar 9, 2017
Merged

Conversation

nolouch
Copy link
Contributor

@nolouch nolouch commented Mar 9, 2017

@siddontang
Copy link
Contributor

How can we get these from TOML file?

@nolouch
Copy link
Contributor Author

nolouch commented Mar 9, 2017

@siddontang
Copy link
Contributor

siddontang commented Mar 9, 2017

Use 1h for default AutoCompactionRetention

server/config.go Outdated
@@ -70,6 +70,10 @@ type Config struct {

Replication ReplicationConfig `toml:"replication" json:"replication"`

// Etcd config
QuotaBackendBytes typeutil.ByteSize `toml:"quota-backend-bytes" json:"quota-backend-bytes"`
AutoCompactionRetention int `toml:"auto-compaction-retention" json:"auto-compaction-retention"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add some comments for the 2 configs.

@disksing
Copy link
Contributor

disksing commented Mar 9, 2017

LGTM

@siddontang
Copy link
Contributor

CI failed

Copy link
Contributor

@siddontang siddontang left a comment

Choose a reason for hiding this comment

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

LGTM

@siddontang siddontang merged commit 62bc1e4 into master Mar 9, 2017
@siddontang siddontang deleted the shuning/add-etcd-config branch March 9, 2017 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make embedded etcd configurable
3 participants