-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Splitstore: Some small fixes #6754
Conversation
7252a5a
to
dc9eae6
Compare
0b3f321
to
02ef0de
Compare
@@ -7,20 +7,27 @@ import ( | |||
) | |||
|
|||
func (s *SplitStore) gcHotstore() { | |||
// we only perform moving gc every 10 compactions as it can take a while | |||
if s.compactionIndex%10 != 0 { | |||
goto online_gc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note for steb: this goto is very short-lived; it disappears a couple of commits later.
02ef0de
to
68da14c
Compare
don't rush merging this yet, we are discussing the MoveTo interface with @Stebalien and we might make a small change here. |
c98ab56
to
68da14c
Compare
We're not going to be able to discuss the semantics of |
Yes, it is used in two ways in #6728
|
Now, given all the grief that this is causing us, we can just drop it altogether from this pr and move it to the gc pr, where we can decide on what to do. |
6267457
to
7a89edc
Compare
it is useful so that: - we only do slow (but very effective) moving gc every 10 compactions - we can detect a splitstore v0 upgrade and re-warm up
that's about once a week
so that splitstore v0 nodes upgrading will get a fresh warmup.
we decided it's premature
7a89edc
to
3f3a12b
Compare
rebased on master. |
Cherry-picked from #6728