This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 188
config, loader: auto-remove imported dump file #770
Merged
Merged
Conversation
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
Codecov Report
@@ Coverage Diff @@
## master #770 +/- ##
================================================
- Coverage 57.0981% 57.0809% -0.0172%
================================================
Files 205 206 +1
Lines 21104 21473 +369
================================================
+ Hits 12050 12257 +207
- Misses 7890 8031 +141
- Partials 1164 1185 +21 |
lance6716
changed the title
[WIP]config, loader: auto-remove imported dump file
[DNM]config, loader: auto-remove imported dump file
Jun 30, 2020
lance6716
changed the title
[DNM]config, loader: auto-remove imported dump file
config, loader: auto-remove imported dump file
Jul 1, 2020
lance6716
commented
Jul 1, 2020
lance6716
commented
Jul 1, 2020
lance6716
added
needs-update-docs
Should update docs after this PR is merged. Remove this label once the docs are updated
priority/normal
Minor change, requires approval from ≥1 primary reviewer
status/PTAL
This PR is ready for review. Add this label back after committing new changes
type/feature
New feature
and removed
status/WIP
This PR is still work in progress
labels
Jul 1, 2020
You need to add the case name in tests/others_integration.txt when add new integration test directory for CI |
lance6716
added
status/DNM
Do not merge, test is failing or blocked by another PR
and removed
status/PTAL
This PR is ready for review. Add this label back after committing new changes
labels
Jul 1, 2020
lance6716
added
status/PTAL
This PR is ready for review. Add this label back after committing new changes
status/DNM
Do not merge, test is failing or blocked by another PR
and removed
status/DNM
Do not merge, test is failing or blocked by another PR
status/PTAL
This PR is ready for review. Add this label back after committing new changes
labels
Jul 1, 2020
/run-all-tests |
lance6716
added
status/PTAL
This PR is ready for review. Add this label back after committing new changes
and removed
status/DNM
Do not merge, test is failing or blocked by another PR
labels
Jul 1, 2020
/run-all-tests |
1 similar comment
/run-all-tests |
test of this feature working as expected is added in 0c4a60f, in |
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.
LGTM
WangXiangUSTC
added
status/LGT1
One reviewer already commented LGTM
and removed
status/PTAL
This PR is ready for review. Add this label back after committing new changes
labels
Jul 9, 2020
GMHDBJD
approved these changes
Jul 10, 2020
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.
LGTM
GMHDBJD
added
status/LGT2
Two reviewers already commented LGTM, ready for merge
and removed
status/LGT1
One reviewer already commented LGTM
labels
Jul 10, 2020
lance6716
added
the
needs-cherry-pick-release-1.0
This PR should be cherry-picked to release-1.0. Remove this label after cherry-picked to release-1.0
label
Jul 15, 2020
/run-cherry-picker |
cherry pick to release-1.0 failed |
1 similar comment
cherry pick to release-1.0 failed |
lance6716
added a commit
to lance6716/dm
that referenced
this pull request
Jul 15, 2020
lance6716
added a commit
that referenced
this pull request
Jul 16, 2020
lance6716
added
already-cherry-pick-1.0
The related PR is already cherry-picked to release-1.0. Add this label once the PR is cherry-picked
and removed
needs-cherry-pick-release-1.0
This PR should be cherry-picked to release-1.0. Remove this label after cherry-picked to release-1.0
labels
Jul 17, 2020
2 tasks
lance6716
added
already-update-docs
The docs related to this PR already updated. Add this label once the docs are updated
needs-update-release-note
This PR should be added into release notes. Remove this label once the release notes are updated
and removed
needs-update-docs
Should update docs after this PR is merged. Remove this label once the docs are updated
needs-update-release-note
This PR should be added into release notes. Remove this label once the release notes are updated
labels
Jul 21, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
already-cherry-pick-1.0
The related PR is already cherry-picked to release-1.0. Add this label once the PR is cherry-picked
already-update-docs
The docs related to this PR already updated. Add this label once the docs are updated
priority/normal
Minor change, requires approval from ≥1 primary reviewer
status/LGT2
Two reviewers already commented LGTM, ready for merge
type/feature
New feature
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.
What problem does this PR solve?
fix #698
What is changed and how it works?
A task configuration
clean-dump-file
is added and propagated to subtask configuraion, to enabledfor data file: after writing checkpoint, check if load is finished. If finised, remove data file
for structure file: remove if whole task successfully finish
for metadata: 1) full_mode: remove if whole task successfully finish 2) all_mode: remove after syncer saves metadata to DB
Check List
Tests
all_mode
full_mode
load_interruption
to check if dump files have been deleted. also, indm_syncer
incremental_mode
check turn off this option to make use of metadata file.Code changes
Side effects
Related changes