# Bulk add to group does not increment group membership counts

**URL:** https://meta.discourse.org/t/bulk-add-to-group-does-not-increment-group-membership-counts/52631
**Category:** Support
**Created:** [November 7, 2016, 5:56pm UTC](https://meta.discourse.org/t/bulk-add-to-group-does-not-increment-group-membership-counts/52631 "2016-11-07T17:56:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![bbendick](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bbendick/32/104987_2.png) [@bbendick](https://meta.discourse.org/u/bbendick)
#### Post date: [November 7, 2016, 5:56pm UTC](https://meta.discourse.org/t/bulk-add-to-group-does-not-increment-group-membership-counts/52631/1 "2016-11-07T17:56:34Z")

</div>

When using the “Bulk add” feature, the group count on admin/groups/custom is not incremented. Only after adding a single user from the normal admin screen does that counter get properly updated.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 7, 2016, 6:06pm UTC](https://meta.discourse.org/t/bulk-add-to-group-does-not-increment-group-membership-counts/52631/2 "2016-11-07T18:06:39Z")

</div>

Yes, the count update is done lazily in a scheduled job.

---

<div class="post-metadata">

### Author: ![bbendick](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bbendick/32/104987_2.png) [@bbendick](https://meta.discourse.org/u/bbendick)
#### Post date: [November 7, 2016, 8:27pm UTC](https://meta.discourse.org/t/bulk-add-to-group-does-not-increment-group-membership-counts/52631/3 "2016-11-07T20:27:33Z")

</div>

Do you know what schedule that’s on? It was at least 12 hours between my bulk add and the manual add.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 7, 2016, 8:28pm UTC](https://meta.discourse.org/t/bulk-add-to-group-does-not-increment-group-membership-counts/52631/4 "2016-11-07T20:28:36Z")

</div>

I think it’s the Jobs::EnsureDbConsistency

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 26, 2019, 3:04am UTC](https://meta.discourse.org/t/bulk-add-to-group-does-not-increment-group-membership-counts/52631/5 "2019-03-26T03:04:01Z")

</div>



---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 26, 2019, 4:19am UTC](https://meta.discourse.org/t/bulk-add-to-group-does-not-increment-group-membership-counts/52631/6 "2019-03-26T04:19:36Z")

</div>


