Update `scanOne` to query

Register
Submit a solution
Status: ‌Draft

Challenge Overview

@afrisalyp - We narrowed down the problem with duplicates to us not implementing scanOne properly.

Scanning only scans a subset of larger tables at once, meaning we have to scan multiple times to scan the whole table, which we don't do. This explains why sometimes it randomly works (found in the first "page"), but other times doesn't (on a page that wasn't scanned).

We've set up indices on dev and prod that we can query directly, instead of using scanOne. Can you make the proper code updates for this please? This should fix the last big issue (with the duplicate issues being created).

image



Final Submission Guidelines

Git issue link: https://github.com/topcoder-platform/topcoder-x-ui/issues/256

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30108051