Skip to content

Registrants table or # of registrants not updated for some contests #4608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SathyaJayabal opened this issue Jun 26, 2020 · 7 comments
Closed

Comments

@SathyaJayabal
Copy link
Collaborator

On accessing the above challenge again and clicking on register, the user was able to register and the register button changed to unregister. But the registration tab is not displayed nor is the number of registrants updated on the listings page. This issue is happening only for few contests. Example:
https://beta-community-app.topcoder.com/challenges/d06475ea-8b93-4998-820c-d55a96d16972
https://beta-community-app.topcoder.com/challenges/0084eae1-4eb9-4def-bf53-e39f13b6d12b
Screenshot 2020-06-26 at 9 18 44 AM
Screenshot 2020-06-26 at 9 19 06 AM

@SathyaJayabal
Copy link
Collaborator Author

SathyaJayabal commented Jun 26, 2020

This seems like a data sync issue. When I register/unregister to a challenge whose registrants have not yet been migrated/synced , the V4 registrations are synced and I can see the table of registrants. And registrations work as expected.The registrants count is also updated on the listings page. This should be fixed when the registrations are synced with V4.
topcoder-platform/challenge-api#165

Please see video.

registration sync.mov.zip
Before Sync
Screenshot 2020-06-26 at 4 37 12 PM
After sync
Screenshot 2020-06-26 at 4 30 47 PM

@rootelement
Copy link
Contributor

This should be fixed as of Sunday Night with the updated sync. If you're seeing issues here, please link Challenge UUIDs and/or LegacyIDs. The issue was the sync was not updating the numberOfRegistrants and numberOfSubmissions counts when data was brought forward, but if you register for a challenge, that would trigger the ES processor which does update those counts. So you wouldn't see it at first, but then it's properly calculated. Please retest.

@SathyaJayabal
Copy link
Collaborator Author

@rootelement , there are a few registrations that are not synced.

For example
https://www.topcoder.com/challenges/30130750?tab=registrants
https://beta-community-app.topcoder.com/challenges/d06475ea-8b93-4998-820c-d55a96d16972?tab=registrants

the last few registrations are not synced.
Screenshot 2020-07-01 at 1 44 28 PM
Screenshot 2020-07-01 at 1 45 14 PM

@SathyaJayabal
Copy link
Collaborator Author

@rootelement
Copy link
Contributor

All examples here line up for me @SathyaJayabal. Please review.

@SathyaJayabal
Copy link
Collaborator Author

@rootelement , the registrations are lining up when you run the migration script, but the real time sync is not happening as expected. For the above example: two more users registered after you last checked. This must have been synced realtime(with a lag if 1-5 mins). But as you can see these have not been synced to v5.
Screenshot 2020-07-03 at 9 54 38 AM
Screenshot 2020-07-03 at 9 54 40 AM

@SathyaJayabal SathyaJayabal added P3 Normal (resolved within 7 days) and removed P2 Important (resolve within 3 days) labels Jul 3, 2020
@SathyaJayabal
Copy link
Collaborator Author

This one is tracked here. Closing this as no FE updates needed.
cc @sushilshinde @lakshmiathreya
topcoder-platform/challenge-api#201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants