New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 632445 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Gerrit CQ: avoid races with user when deleting CQ label vote

Project Member Reported by tandrii@chromium.org, Jul 28 2016

Issue description

 Issue 618784  implements CQ removing votes triggering CQ when attempt passed or failed.

There is potential race between USER and CQ changing vote at the same time. Most likely it'd be this:
1. User: label-Commit-Queue => 1 (Dry Run)
2. CQ starts and runs dry run, tryjobs are green.
3. User notices green tryjobs decides to trigger full CQ run.
   CQ also notices tryjobs, decides to stop dry run with a success.
4. CQ: label-Commit-Queue => 0 (on behalf of User)
 USER: label-Commit-Queue => 2

It'd be great to remove negative effect from this if CQ could somehow tell Gerrit to delete vote IF AND ONLY IF nothing changed since CQ read Gerrit data.
 
Cc: andyb...@chromium.org
+andy
Labels: Milestone-Afterglow
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 27 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Pri-2 -Hotlist-Recharge-Cold Pri-3
Status: Available (was: Untriaged)
Nobody complained on my watch about this, so Pri3.
Labels: -Milestone-Afterglow
Removing Milestone-Afterglow, as it has ceased to have meaning. More refined milestones may be added back in the near future.
Project Member

Comment 6 by sheriffbot@chromium.org, Jan 4

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: Infra>Platform>CQ
Status: Available (was: Untriaged)

Sign in to add a comment