Skip to content

feat(procedure): Max retry time#1095

Merged
killme2008 merged 40 commits intoGreptimeTeam:developfrom
jun0315:max-retry
Mar 15, 2023
Merged

feat(procedure): Max retry time#1095
killme2008 merged 40 commits intoGreptimeTeam:developfrom
jun0315:max-retry

Conversation

@jun0315
Copy link
Copy Markdown
Contributor

@jun0315 jun0315 commented Feb 28, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Increase the maximum number of retries to avoid continuous retries.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

#286
#1058

@jun0315 jun0315 changed the title feat(Procedure): Max retry time feat(procedure): Max retry time Feb 28, 2023
@jun0315 jun0315 marked this pull request as ready for review February 28, 2023 07:52
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 28, 2023

Codecov Report

Merging #1095 (de65375) into develop (0086cc2) will decrease coverage by 0.12%.
The diff coverage is 77.51%.

❗ Current head de65375 differs from pull request most recent head 7fd44b9. Consider uploading reports for the commit 7fd44b9 to get more accurate results

@@             Coverage Diff             @@
##           develop    #1095      +/-   ##
===========================================
- Coverage    85.20%   85.09%   -0.12%     
===========================================
  Files          485      485              
  Lines        71588    71701     +113     
===========================================
+ Hits         61000    61012      +12     
- Misses       10588    10689     +101     

Comment thread src/cmd/src/datanode.rs Outdated
Comment thread src/datanode/src/datanode.rs
Comment thread src/common/procedure/src/local.rs Outdated
Comment thread src/common/procedure/src/error.rs Outdated
Comment thread src/common/procedure/src/local/runner.rs Outdated
Comment thread src/common/procedure/src/local/runner.rs Outdated
@jun0315
Copy link
Copy Markdown
Contributor Author

jun0315 commented Mar 2, 2023

I have solved all the above code reviews, PTAL :D @evenyag

Comment thread src/cmd/src/datanode.rs Outdated
Comment thread src/datanode/src/datanode.rs Outdated
Comment thread src/datanode/src/datanode.rs Outdated
Comment thread src/datanode/src/datanode.rs
Comment thread src/common/procedure/src/local.rs Outdated
Comment thread src/common/procedure/src/local.rs Outdated
Comment thread src/common/procedure/src/local/runner.rs Outdated
Comment thread src/common/procedure/src/procedure.rs Outdated
@jun0315
Copy link
Copy Markdown
Contributor Author

jun0315 commented Mar 6, 2023

I have solved all the above code reviews, PTAL~ @evenyag

Comment thread src/common/procedure/src/procedure.rs Outdated
Comment thread config/standalone.example.toml Outdated
Comment thread src/datanode/src/datanode.rs Outdated
Comment thread src/common/procedure/src/local/runner.rs Outdated
@evenyag
Copy link
Copy Markdown
Contributor

evenyag commented Mar 8, 2023

There are some conflicts. Could you please resolve them? @jun0315

@killme2008
Copy link
Copy Markdown
Member

@jun0315 Any update? Looks like only some minor comments and conflicts waiting to be fixed.

@jun0315
Copy link
Copy Markdown
Contributor Author

jun0315 commented Mar 14, 2023

Sorry, I was a little busy the other day. I have fixed the above problem.:D @killme2008 @evenyag

Copy link
Copy Markdown
Contributor

@evenyag evenyag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 👍

Comment thread config/datanode.example.toml Outdated
Comment thread config/standalone.example.toml Outdated
Comment thread config/datanode.example.toml Outdated
@killme2008 killme2008 enabled auto-merge (squash) March 15, 2023 08:07
Copy link
Copy Markdown
Member

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@killme2008 killme2008 merged commit cd8be77 into GreptimeTeam:develop Mar 15, 2023
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* feat: procedure config

* fix: modify config

* feat: add retry logic

* feat: add error

* feat: add it

* feat: add it

* feat: add it

* feat: rm retry from runner

* feat: use backon

* feat: add retry_interval

* feat: add retry_interval

* fix: conflict

* fix: cr

* feat: add retry error and id

* feat: rename

* refactor: execute

* feat: use config dir

* fix: cr

* fix: cr

* fix: fmt

* fix: fmt

* fix: pr

* fix: it

* fix: rm unless cmd params

* feat: add toml

* fix: ut

* feat: add rolling back

* fix: cr

* fix: cr

* fix: cr

* fix: ci

* fix: ci

* fix: ci

* chore: Apply suggestions from code review

---------

Co-authored-by: Yingwen <realevenyag@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants