-
Notifications
You must be signed in to change notification settings - Fork 1
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
[MM-55223] add basic dump mechansim #8
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #8 +/- ##
==========================================
- Coverage 13.59% 13.11% -0.48%
==========================================
Files 6 8 +2
Lines 456 686 +230
==========================================
+ Hits 62 90 +28
- Misses 385 580 +195
- Partials 9 16 +7 ☔ View full report in Codecov by Sentry. |
The interval selection screen is something like this: Screen.Recording.2024-01-09.at.21.36.45.mov |
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.
Nice work @isacikgoz!
if ok, err := b.FileExists(src); !ok { | ||
return nil |
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.
Not sure if it's important, but it's possible for FileExists
to return false with a "unable to know if file %s exists` error, but then we wouldn't return the error here -- is that ok?
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.
Good point, it's actually okay as we will continue to the loop where we call the copy function.
Summary
WIP: Create a tsdb dump and write zip file to the remote storage
Ticket Link
https://mattermost.atlassian.net/browse/MM-55223