-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Clean up profiles without partners #3590
Comments
So there is definitely something relatively recent going on here - but my hunch is it's benign. Partner profile ID: 3682 belongs to organization ID: 224 (which was only created in January). It also belongs to partner ID 3812, which does not exist. This seems to indicate that the partner was deleted, but the profile wasn't. There is a Long story short, it's very hard to figure out what happened here without accessing app logs. And unfortunately we don't keep the app logs for the period of time we'd need to figure this out. We really need something like Logstash or Flume to be able to view and search our older logs. |
Adding that need as a topic for Sunday's meeting. |
@dorner That profile has the same name as 3811, which is suspiciously close to 3812 |
There are two cases in the immediate vicinity that have doubled names. It may be "when you have a hammer everything looks like a nail", but I'm wondering if this is another double-click situation. |
Interesting! Wondering if it's a double-click plus race condition where it creates two partners, rolls back one of them (since there is a uniqueness validation on name) but leaves the profile as is. Not sure how that's possible since the partner + profile creation is inside a transaction. In any case, since we've fixed double clicks across the board with #3612 we can monitor this to see if it happens again. My hunch is no, and it seems like these profiles are basically just garbage data in any case. |
This issue has been inactive for 249 hours (10.38 days) and will be automatically unassigned after 111 more hours (4.63 days). |
This issue has been inactive for 369 hours (15.38 days) and is past the limit of 360 hours (15.00 days) so is being unassigned. |
@cielf any further action needed here? |
@dorner There are still 141, so the problem hasn't gotten any worse. How do we feel about cleaning them out? |
Sounds good to me! Want to change this from an investigation to a cleanup ticket? |
Yes. Changing in place. |
#3590: Clean up partner profiles without a partner
Summary
data-cleanup -- partner profiles without partners
Why address
A kindness to future supporters/devs
Details
There are a number of profiles without partners. These appear to be a holdover from partnerbase days. Let's clean them up!
Notes
Original commentary from investigation phase.
I don't think you could access any of these at this point, but check. (you might be able to get at it some weird way as a bank, you know, by entering the profile id if you are the right bank, but probably not through the normal UI)
This is likely a carry forward from some long long ago issue that was brought forward when the dbs were combined,. I expect none of these have been accessed in ahem some time.
Let's take a look at whether this is affecting any banks that are active, first.
Initial investigation indicates there are 141 profiles without partners? some of which are clearly bogus (partner 999,999 seems suspect, for instance.)
Criteria completion
The text was updated successfully, but these errors were encountered: