Closed
Bug 1235383
Opened 8 years ago
Closed 8 years ago
secrets API won't re-create an expired secret
Categories
(Taskcluster :: Services, defect)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
Details
Attachments
(1 file)
I'm getting 410's trying to read garbage/dustin/foo, but 409's trying to set. Update seems to work. So, maybe the better way to phrase this is: there's no good reason to distinguish update and set in this API.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → dustin
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8714572 -
Flags: review?(jhford)
Comment 2•8 years ago
|
||
Comment on attachment 8714572 [details] [review] https://github.com/taskcluster/taskcluster-secrets/pull/12 Took a look at this and I think there's a couple of open questions. Please set the flag back to ? when I should take another look
Attachment #8714572 -
Flags: review?(jhford)
Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8714572 [details] [review] https://github.com/taskcluster/taskcluster-secrets/pull/12 On the basis of the "good to go" comment, I merged PR 11 but not this one, only to realize all of your concerns were about the commits in PR 11, except the race condition. I don't think that's an issue here. Care to have another look?
Attachment #8714572 -
Flags: review?(jhford)
Assignee | ||
Comment 4•8 years ago
|
||
deployed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 5•8 years ago
|
||
Sorry, didn't see the review flag. If you don't mind, the issues that I raised would still be good to fix.
Assignee | ||
Comment 6•8 years ago
|
||
I'm not too worried about the race. It would come if the set API call occurred at exactly the time the expiration utility deleted the old entity (which is some time *after* its expires timestamp). In that case, the user will get an error and the client will retry. That was the only issue I didn't address.
Comment 7•8 years ago
|
||
oh! yah, the race doesn't concern me too much. it was the other things, so if those are addressed, great!
Updated•8 years ago
|
Attachment #8714572 -
Flags: review?(jhford) → review+
Updated•5 years ago
|
Component: Secrets → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•