Skip to content
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

[persist] Dynamic lease timeouts #21822

Merged
merged 3 commits into from
Sep 19, 2023
Merged

Conversation

bkirwi
Copy link
Contributor

@bkirwi bkirwi commented Sep 19, 2023

Motivation

This is a long-time known-useful knob which has recently become more urgent.

Closes MaterializeInc/database-issues#6546

Tips for reviewer

I have not yet tested that all the wiring is set up correctly; will comment when that's done.

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered.
  • This PR has an associated up-to-date design doc, is a design doc (template), or is sufficiently small to not require a design.
  • If this PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way), then it is tagged with a T-proto label.
  • If this PR will require changes to cloud orchestration or tests, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label (example).
  • This PR includes the following user-facing behavior changes:

@bkirwi bkirwi force-pushed the dynamic-lease branch 2 times, most recently from 6f415eb to 004d70c Compare September 19, 2023 20:35
@danhhz
Copy link
Contributor

danhhz commented Sep 19, 2023

@bkirwi I verified locally that the cfg is hooked up to ALTER SYSTEM SET correctly (using a log inside DynamicConfig::reader_lease_duration)

@bkirwi bkirwi marked this pull request as ready for review September 19, 2023 20:45
@bkirwi bkirwi requested a review from a team September 19, 2023 20:45
@bkirwi bkirwi requested a review from a team as a code owner September 19, 2023 20:45
@bkirwi
Copy link
Contributor Author

bkirwi commented Sep 19, 2023

I've also checked alter-system-set and verified that the new thread name is visible to lldb and formatted nicely.

@bkirwi bkirwi enabled auto-merge (squash) September 19, 2023 20:46
@bkirwi bkirwi merged commit d0c3e82 into MaterializeInc:main Sep 19, 2023
@bkirwi bkirwi deleted the dynamic-lease branch September 19, 2023 21:29
petrosagg pushed a commit to petrosagg/materialize that referenced this pull request Sep 21, 2023
This is a long-time known-useful knob which has recently become more urgent.
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.

2 participants