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

defrag db in etcd-ppc64 does not change its size #15

Closed
gyuho opened this issue Aug 10, 2017 · 2 comments
Closed

defrag db in etcd-ppc64 does not change its size #15

gyuho opened this issue Aug 10, 2017 · 2 comments

Comments

@gyuho
Copy link
Contributor

gyuho commented Aug 10, 2017

https://jenkins-etcd-public.prod.coreos.systems/job/etcd-ci-ppc64/1876/console

--- FAIL: TestMetricDbSizeDefrag (0.64s)
	metrics_test.go:95: expected less than 327680, got 327680 after defrag
@heyitsanthony
Copy link
Contributor

ppc64 uses 64kb pages (I think; I know arm64 does), but the test only puts 40kb of value data. It's possible it all fits on one page. Try numPuts = 40

gyuho added a commit to gyuho/etcd that referenced this issue Aug 10, 2017
For ppc64.
Reference:
etcd-io/bbolt#15 (comment).

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
gyuho added a commit to gyuho/etcd that referenced this issue Aug 10, 2017
For ppc64.
Reference: etcd-io/bbolt#15 (comment).

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
@gyuho
Copy link
Contributor Author

gyuho commented Aug 11, 2017

#15 (comment) worked.

Closing.

@gyuho gyuho closed this as completed Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants