Skip to content

Storage data exception #16531

Answered by ahrtr
liangpeihuahua asked this question in Q&A
Sep 4, 2023 · 12 comments · 22 replies
Discussion options

You must be logged in to vote

Please follow steps below,

  1. Get the latest revision using command: etcdctl --endpoints=:2379 endpoint status --write-out="json" | egrep -o '"revision":[0-9]*' | egrep -o '[0-9].*')
  2. Execute compaction operation: etcdctl compact ${the_revision_got_at_step_1}
  3. Execute defragmentation: etcdctl defrag
  4. Let's know the db size
  5. If the db size is still that big, can you share the db file?

Replies: 12 comments 22 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jmhbnz
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jmhbnz
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@fuweid
Comment options

@fuweid
Comment options

Comment options

You must be logged in to vote
6 replies
@liangpeihuahua
Comment options

@liangpeihuahua
Comment options

@fuweid
Comment options

@liangpeihuahua
Comment options

@fuweid
Comment options

Comment options

You must be logged in to vote
12 replies
@fuweid
Comment options

@liangpeihuahua
Comment options

@fuweid
Comment options

@liangpeihuahua
Comment options

@fuweid
Comment options

Answer selected by fuweid
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
5 participants
Converted from issue

This discussion was converted from issue #16528 on September 04, 2023 09:10.