-
Notifications
You must be signed in to change notification settings - Fork 2.3k
vtorc: add StaleTopoPrimary analysis and recovery
#19173
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
Changes from all commits
49d8ab7
676774b
7ccc18e
9923972
d06c45f
2ef068f
ecf19a0
482d834
f20e9d6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -135,6 +135,11 @@ func (rm *RowMap) GetTime(key string) time.Time { | |
| if t, err := time.Parse(DateTimeFormat, rm.GetString(key)); err == nil { | ||
| return t | ||
| } | ||
|
|
||
| if t, err := time.Parse(time.RFC3339Nano, rm.GetString(key)); err == nil { | ||
| return t | ||
| } | ||
|
Comment on lines
+139
to
+141
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was needed because we seem to be storing the timestamp in
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We use that format for histograms buckets in the stats package. I'm not aware of any other usage. Where was this needed here?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When vtorc is reading the primary term start time, I was getting parsing errors leading to it being parsed as the zero value. |
||
|
|
||
| return time.Time{} | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.