-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add RPC modifications to include the lock work #17697
Commits on Jul 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 16cd69d - Browse repository at this point
Copy the full SHA 16cd69dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa0543d - Browse repository at this point
Copy the full SHA fa0543dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6bbaaf - Browse repository at this point
Copy the full SHA a6bbaafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad7bbd - Browse repository at this point
Copy the full SHA 8ad7bbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8cbec7 - Browse repository at this point
Copy the full SHA c8cbec7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8c2aad - Browse repository at this point
Copy the full SHA a8c2aadView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5af7a0 - Browse repository at this point
Copy the full SHA d5af7a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f40bc7a - Browse repository at this point
Copy the full SHA f40bc7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a58e815 - Browse repository at this point
Copy the full SHA a58e815View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3441ae6 - Browse repository at this point
Copy the full SHA 3441ae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b285eb - Browse repository at this point
Copy the full SHA 2b285ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a46135 - Browse repository at this point
Copy the full SHA 3a46135View commit details -
Configuration menu - View commit details
-
Copy full SHA for 582d67d - Browse repository at this point
Copy the full SHA 582d67dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4696bd0 - Browse repository at this point
Copy the full SHA 4696bd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11685ac - Browse repository at this point
Copy the full SHA 11685acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a6a091 - Browse repository at this point
Copy the full SHA 7a6a091View commit details -
fix: update logic to distinguish upsert variable and lock operation o…
…n the http endpoint
Configuration menu - View commit details
-
Copy full SHA for 94484c6 - Browse repository at this point
Copy the full SHA 94484c6View commit details -
fix: adjust the look up for query params to only be done on put and p…
…osts to simplify the logic
Configuration menu - View commit details
-
Copy full SHA for 7bf5014 - Browse repository at this point
Copy the full SHA 7bf5014View commit details -
Configuration menu - View commit details
-
Copy full SHA for f068f17 - Browse repository at this point
Copy the full SHA f068f17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90fb2a4 - Browse repository at this point
Copy the full SHA 90fb2a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 439b77e - Browse repository at this point
Copy the full SHA 439b77eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c829e2b - Browse repository at this point
Copy the full SHA c829e2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 379d6ee - Browse repository at this point
Copy the full SHA 379d6eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a63039 - Browse repository at this point
Copy the full SHA 2a63039View commit details -
Configuration menu - View commit details
-
Copy full SHA for f60991c - Browse repository at this point
Copy the full SHA f60991cView commit details -
Co-authored-by: Tim Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e09d32f - Browse repository at this point
Copy the full SHA e09d32fView commit details -
func: change the return when lock ID is wrong from error to conflict
Also hide the variable items
Configuration menu - View commit details
-
Copy full SHA for 997f7dd - Browse repository at this point
Copy the full SHA 997f7ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e29ff9 - Browse repository at this point
Copy the full SHA 5e29ff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4353fd - Browse repository at this point
Copy the full SHA e4353fdView commit details -
fix: separate the table update for the lock release, the var update c…
…ant be used because of the missing lock ID
Configuration menu - View commit details
-
Copy full SHA for 1b36b06 - Browse repository at this point
Copy the full SHA 1b36b06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6253296 - Browse repository at this point
Copy the full SHA 6253296View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c3b8a3 - Browse repository at this point
Copy the full SHA 5c3b8a3View commit details -
func: allow for users to overide the variable data when locking, the …
…responsibility is left for teh user
Configuration menu - View commit details
-
Copy full SHA for 0d6d59a - Browse repository at this point
Copy the full SHA 0d6d59aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fb2643 - Browse repository at this point
Copy the full SHA 1fb2643View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7747fd5 - Browse repository at this point
Copy the full SHA 7747fd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 070d489 - Browse repository at this point
Copy the full SHA 070d489View commit details -
Add acquire and release lock functions on the state store (#17794)
* fix: move the rpc metrics up on the renew lock to include auth errors * func: add acquire and release lock functions on fsm * func: fix the query for missing lock to avoid nil points in case of a missing lock * func: add happy path test for acquire and release flows on non existing variable * fix: solve rebase with rpc conflicts * func: add testing for release lock * style: typo * fix: remove debug file * Update nomad/fsm.go Co-authored-by: Tim Gross <[email protected]> * func: change the return when lock ID is wrong from error to conflict Also hide the variable items * func: add lock ID verification for variable upserts * fix: check for empty lock instead of empty lock ID on setCas to avoid nil pointer * fix: separate the table update for the lock release, the var update cant be used because of the missing lock ID * func: add tests for delete CAS with lock ID check * func: move lock ID check to the inner most tx function, not the CAS wrappers * fix: add lock not nil check on release to avoid nill pointers * style: function rename * func: remove the lock ID check from the CAS delete * func: allow for users to overide the variable data when locking, the responsibility is left for teh user --------- Co-authored-by: Tim Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22c1fee - Browse repository at this point
Copy the full SHA 22c1feeView commit details -
func: merge the timer functions with the leader functions and add loc…
…k check for var apply
Configuration menu - View commit details
-
Copy full SHA for 103a8f4 - Browse repository at this point
Copy the full SHA 103a8f4View commit details -
fix: add a restriction for CAS and lock, only one at the time and avo…
…id overwriting data when lock release
Configuration menu - View commit details
-
Copy full SHA for d7e7149 - Browse repository at this point
Copy the full SHA d7e7149View commit details -
Configuration menu - View commit details
-
Copy full SHA for c471356 - Browse repository at this point
Copy the full SHA c471356View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7277f1 - Browse repository at this point
Copy the full SHA e7277f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3e10f3 - Browse repository at this point
Copy the full SHA c3e10f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83d9d7d - Browse repository at this point
Copy the full SHA 83d9d7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6440af0 - Browse repository at this point
Copy the full SHA 6440af0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c769d5b - Browse repository at this point
Copy the full SHA c769d5bView commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 276b9f5 - Browse repository at this point
Copy the full SHA 276b9f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8124801 - Browse repository at this point
Copy the full SHA 8124801View commit details -
Configuration menu - View commit details
-
Copy full SHA for 950749a - Browse repository at this point
Copy the full SHA 950749aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef7cffe - Browse repository at this point
Copy the full SHA ef7cffeView commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 35b309a - Browse repository at this point
Copy the full SHA 35b309aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8496b6d - Browse repository at this point
Copy the full SHA 8496b6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c0eab9 - Browse repository at this point
Copy the full SHA 6c0eab9View commit details -
Update nomad/variables_endpoint.go
Co-authored-by: Tim Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dfd9507 - Browse repository at this point
Copy the full SHA dfd9507View commit details -
Update nomad/variables_endpoint.go
Co-authored-by: Tim Gross <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dfc61ad - Browse repository at this point
Copy the full SHA dfc61adView commit details -
Configuration menu - View commit details
-
Copy full SHA for d46dd2a - Browse repository at this point
Copy the full SHA d46dd2aView commit details