Closed
Bug 1292371
Opened 9 years ago
Closed 6 years ago
Number of open issues is sometimes incorrect
Categories
(MozReview Graveyard :: Review Board: User Interface, defect)
MozReview Graveyard
Review Board: User Interface
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: xidorn, Unassigned)
References
Details
Attachments
(1 file)
32.84 KB,
image/png
|
Details |
I see an issue today that, when I open https://reviewboard.mozilla.org/r/68940/ the Landable field on the commit table shows !2 and !1 for two commits, however if I click into those pages, there is no unresolved issue at all.
This isn't bug 1253552, because I see that when I opened that page, and the number of issues had been updated from 10+ to only 2, which means the 2 isn't something comes from local cache. Also shift-reload doesn't fix this.
Reporter | ||
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
And MozReview doesn't allow me to land the patches because of that... But there is no issue can be closed anymore...
Comment 3•9 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #2)
> And MozReview doesn't allow me to land the patches because of that... But
> there is no issue can be closed anymore...
Ah, sorry I only saw this now. I've fixed the issue counts on the server, everything should be fine now.
As future reference for admins:
> $ rb-site manage /data/reviewboard/www/reviewboard.mozilla.org/reviewboard reset-issue-counts -- --recalculate --verbosity=2 68944
> $ rb-site manage /data/reviewboard/www/reviewboard.mozilla.org/reviewboard reset-issue-counts -- --recalculate --verbosity=2 69264
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Assignee: nobody → smacleod
Reporter | ||
Comment 4•9 years ago
|
||
Do you know why did that happen? I don't think resetting it every time when it appears is the right solution. We should avoid it from happening again.
Comment 5•9 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #4)
> Do you know why did that happen? I don't think resetting it every time when
> it appears is the right solution. We should avoid it from happening again.
It's a bug in Review Board that's pretty rare, but has eluded attempts to debug it.
Comment 6•9 years ago
|
||
Going to reopen this to track the underlying issue.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•8 years ago
|
||
I think I reproduced this on /r/72092. glandium left an open issue. I marked the issue as fixed in the web UI at the same time I was `hg push`ing a new review series. I'm not sure the exact order things occurred in (you'll have to check the server log), but I definitely marked the issue as fixed *before* I published the review series from the CLI.
I suspect the draft review requests inherited the issue count and then when I marked the issue as fixed it didn't propagate to the review request draft. Or something like that. Feels like a plausible race condition.
Comment 8•8 years ago
|
||
Has happened at https://reviewboard.mozilla.org/r/49731/ too
(In reply to Manish Goregaokar [:manishearth] from comment #8)
> Has happened at https://reviewboard.mozilla.org/r/49731/ too
reset-issue-counts run, tally fixed.
Comment 10•8 years ago
|
||
Same thing happen:
<jgraham> https://reviewboard.mozilla.org/r/108266/#issue-summary seems to show no open issues, but the commit is marked as !2 and I can't land
Comment 11•8 years ago
|
||
(In reply to Piotr Zalewa [:zalun] from comment #10)
> Same thing happen:
> <jgraham> https://reviewboard.mozilla.org/r/108266/#issue-summary seems to
> show no open issues, but the commit is marked as !2 and I can't land
Fixed.
Comment 13•8 years ago
|
||
When someone with the powers gets a chance, could you please do the requisite fixup here (currently blocked from autolanding due to this bug):
https://reviewboard.mozilla.org/r/161010/
Comment 14•8 years ago
|
||
Issue counts for review request(s) 161010 reset.
Comment 15•7 years ago
|
||
Another occurrence: https://reviewboard.mozilla.org/r/183474/#issue-summary
Comment 16•7 years ago
|
||
It did happen for me. https://reviewboard.mozilla.org/r/192790/#issue-summary
Comment 17•7 years ago
|
||
Happened again. https://reviewboard.mozilla.org/r/206046/#issue-summary
Updated•7 years ago
|
Assignee: smacleod → nobody
Comment 18•7 years ago
|
||
Happened again. https://reviewboard.mozilla.org/r/238260/#issue-summary
Flags: needinfo?(glob)
Comment 20•6 years ago
|
||
MozReview is now obsolete. Please use Phabricator instead. Closing this bug.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 6 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•