Closed
Bug 859945
Opened 12 years ago
Closed 11 years ago
Mozillians database cleanup: Delete empty groups
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: hoosteeno, Assigned: giorgos)
References
Details
We should delete user-created (not functional areas or restricted or internal) groups that have no members. This could be done as part of a daily/weekly batch process or it could be triggered when group membership reaches 0. If we choose the triggered approach we should run a one-time job to delete existing 0-member groups.
Please request a full database backup before deploying this code to production for its first run.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → giorgos
Status: NEW → ASSIGNED
| Reporter | ||
Updated•12 years ago
|
Target Milestone: --- → 2013-05-02
Comment 2•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/mozillians
https://github.com/mozilla/mozillians/commit/3b2d101c16a144609b720d62e75897c558cc3381
[fix bug 859945] Task to delete empty groups.
https://github.com/mozilla/mozillians/commit/561d2e967e8d6b89e97a83459045e2003c81689b
Merge pull request #459 from glogiotatidis/859945
[fix bug 859945] Task to delete empty groups.
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 3•12 years ago
|
||
For the moment QA is blocked from testing until bug 867791 is remedied.
Depends on: 867791
| Reporter | ||
Updated•12 years ago
|
Target Milestone: 2013-05-02 → 2013-05-09
Updated•12 years ago
|
Target Milestone: 2013-05-09 → 2013-05-02
Comment 4•12 years ago
|
||
Reopening:
Looking at https://mozillians.allizom.org/admin/groups/group/ I see groups that have a member count of zero. Should these groups have been deleted?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•12 years ago
|
Target Milestone: 2013-05-02 → ---
Comment 5•12 years ago
|
||
mean to say (comment 4):
s/zero/non-zero/
Looking at https://mozillians.allizom.org/admin/groups/group/ I see groups that have a member count of non-zero. Should these groups have been deleted?
| Assignee | ||
Comment 6•12 years ago
|
||
I added a job to delete empty groups and skills every day on stage. Let's check tomorrow if it was successful.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•12 years ago
|
||
On second thought, re-opening this as a note to add the same job on prod when we verify it on stage.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 8•11 years ago
|
||
Job is active on prod.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
Comment 9•11 years ago
|
||
QA verified on stage and prod -- I see no groups with count less than 1
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•