-
Notifications
You must be signed in to change notification settings - Fork 16
[$125] Index bug #416
Comments
Challenge https://www.topcoder.com/challenges/c1083fbb-1c8d-46c5-93f6-685a7ac8e911 has been created for this ticket. |
Challenge https://www.topcoder.com/challenges/c1083fbb-1c8d-46c5-93f6-685a7ac8e911 has been assigned to afrisalyp. |
Sorry just noticed that we haven't test this functionality. We put connection between topcoderUsername -> github and gitlab account in the same table (UserMapping) But at some cases, only one connection available (topcoderUsername -> github) or (topcoderUsername -> gitlab). Since we define indexes on all of the fields, we need to fill them all. We have three options here.
Any thoughts on this? |
Let's split into two tables. That'll make more sense, I think, and will allow us to avoid both dummy data and the removal of indices. |
Sure, thanks. We will need to migrate the contents of UserMapping table into GithubUserMapping and GitlabUserMapping.
|
Let's do a migration script, thanks. That way we won't have data in two places and a deprecated table sitting around. |
Please do |
@afrisalyp - I'm still working on testing this. Some of the IAM permissions are a bit wonky on the dev env, so I'm reaching out to Topcoder for some help. The migration worked properly though, so that piece looks good. |
Okay. Thanks for the update. |
Payment task has been updated: https://www.topcoder.com/challenges/c1083fbb-1c8d-46c5-93f6-685a7ac8e911 |
@afrisalyp - I think we may have a bug related to the new indices added, and the git access links.
We saw one report of a user unable to use a Gitlab link, which normally has been working fine. Their user mapping record was never properly added.
We attempted to add it manually, and were unable to because the GithubUsernameIndex was requiring a value.
We need to make sure that the indices aren't causing problems with adding records for new users.
The text was updated successfully, but these errors were encountered: