# /polls/voters.json returning duplicate users across paged requests

**URL:** https://meta.discourse.org/t/polls-voters-json-returning-duplicate-users-across-paged-requests/376636
**Category:** Bug
**Tags:** polls, pr-welcome, rest-api
**Created:** [July 30, 2025, 11:06pm UTC](https://meta.discourse.org/t/polls-voters-json-returning-duplicate-users-across-paged-requests/376636 "2025-07-30T23:06:16Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![clechasseur](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clechasseur/32/517802_2.png) [@clechasseur](https://meta.discourse.org/u/clechasseur)
#### Post date: [August 19, 2025, 1:12am UTC](https://meta.discourse.org/t/polls-voters-json-returning-duplicate-users-across-paged-requests/376636/9 "2025-08-19T01:12:15Z")

</div>

> [@clechasseur](#):
>
> This potentially makes the ordering non-deterministic across queries, which means that depending on the number of voters and the `limit` value used, it could be possible to actually miss voters when doing paginated queries.

I followed the link above to a previous report, which includes a like to a [previous _previous_ report](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838) which includes something that seems to point to this possibility as well:

> [@Polls showing duplicate voters](https://meta.discourse.org/t/polls-showing-duplicate-voters/102838/1):
>
> Interestingly enough, I switched my vote to another option and then switched back, and now I don’t show up at all.

That’s a long time ago however so the code might have been totally different back then. (I tried going back in time with Git but the history stopped in 2021 so I assume the code moved at some point.)

---

_[View the full topic](https://meta.discourse.org/t/polls-voters-json-returning-duplicate-users-across-paged-requests/376636)._
