-
Notifications
You must be signed in to change notification settings - Fork 78
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
[patch] [agent-NGT, sidecar] Improve S3 backup/recover behavior #556
Merged
kpango
merged 37 commits into
master
from
refactor/agent-ngt-sidecar/improve-s3-backup-behavior
Jul 22, 2020
Merged
Changes from 34 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
7382a36
:recycle: not to overwrite existing backup files
rinx 8741a1c
:white_check_mark: update tests for internal/compress
rinx b6bd4f8
:wrench: add default_pool_size option / add internal/json package
rinx ff6a2d0
:sparkles: Add metadata package to write agent metadata when the inde…
rinx 2b25b77
:sparkles: revise file.Open interface
rinx 814467f
:white_check_mark: fix file test
rinx 1b61d09
:white_check_mark: fix json tests
rinx 8d92ecc
:art: use filepath.Join
rinx 74b5f2f
:sparkles: revise watching method for ngt index backup files
rinx 1c3c9e6
:white_check_mark: remove dps from ngt_test
rinx f0a8d88
:sparkles: kill own process when NGT index cannot be loaded within ti…
rinx c2240f1
:rotating_light: fix deepsource issues
rinx 839c13b
:truck: move internal/json -> internal/encoding/json
rinx 7974dcf
[agent-NGT] refactor pkg/agent/core/service using FOP (#566)
rinx 154f395
:recycle: refactor initNGT func
rinx d877f5e
:white_check_mark: update
rinx db4a6d4
:sparkles: add isValid flag to metadata
rinx 9bd724d
:green_heart: revise fetch depth for run test workflow
rinx f82e27b
:recycle: use isInvalid because it should be default to false
rinx d2770b8
:art: fix tag format
rinx 5c37eca
:recycle: fix poststop logic
rinx 6bf1dec
:sparkles: add Escape() method to errgroup
rinx 9c98268
:package: add *.containers field
rinx 27801a3
Revert ":package: add *.containers field"
rinx 3158cfe
:white_check_mark: update
rinx a32eae2
Revert ":white_check_mark: update"
rinx e83db86
Revert ":sparkles: add Escape() method to errgroup"
rinx 30ae1f8
:recycle: exit safely using goroutine
rinx 8c4ed90
:truck: move internal/metadata -> pkg/agent/internal/metadata
rinx fa8c6cb
:recycle: add defaultPoolSize const
rinx 1554330
:recycle: pass cfg struct to agent service
rinx eac9b47
:whale: fix dockerfiles
rinx 60a704d
:recycle: add watch_enabled & auto_backup_enabled options
rinx a8db9be
:white_check_mark: fix tests
rinx c1755e5
:recycle: revise agent-ngt codes based on suggestions
rinx bc77f2c
:white_check_mark: update
rinx 25d315b
:recycle: revise observer poststop
rinx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
could you please teach me about this change.
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.
sometimes this workflow fails on master branch because of failing to fetch commits.
https://github.com/vdaas/vald/actions/runs/164399448
To prevent this, it is better to fetch not only the latest commit.