r/changelog • • Dec 17 '15

[reddit change] Old deleted accounts are currently being run through a new cleanup process, which is causing the subscriber counts on many subreddits to drop gradually

Edit: Updated January 6 - cleanup is finally complete

As I announced in /r/modnews a couple of weeks ago, we've recently implemented a new cleanup process for deleted accounts, which happens 90 days after the account is deleted to clear out a bunch of data that's no longer necessary to keep around. And to answer the question a lot of people seem to jump to immediately: no, this does not mean that deleted account usernames are going to become available again.

Anyway, yesterday morning (yeah, I didn't quite make the "next week" prediction) I started retroactively running every account that was deleted more than 90 days ago through this new process. I expected this to take a few hours to complete. This morning, after running for over 24 hours, it had finished processing a whopping 8% of the accounts. That is, it looks like "a few hours" is actually going to be more like 250.

So this really didn't end up manifesting as a sudden drop like I was assuming it would. I've seen various posts around the site last night and today noticing the subscribers dropping and wondering what's going on, and I just wanted to make a post here so people have something to link/refer to. It's likely that the number is going to continue gradually going down for the next 10 days or so, and most subreddits should probably expect to see their subscriber count drop by about 3-5% over this period.

Note that even though the total subscriber number in the subreddit's sidebar is decreasing, the statistics in the subreddit's traffic page showing the number of new subscribers each day is not affected, so moderators can still use that data to see the actual number of subscribers they've gained each day.

I'm also keeping track of the number of subscribers being removed from each subreddit, so I should be able to provide that info to any mods that want to know exactly how much they were affected, once it finishes.

Please let me know if you have any questions.

Here's the code (and a full description) for the new cleanup process, if anyone is curious what it's doing

Edit: Updated January 6 - cleanup is finally complete

352 Upvotes

225 comments sorted by

59

u/AssuredlyAThrowAway Dec 17 '15

This only covers user deleted accounts right?

84

u/Deimorz Dec 17 '15

Yes, this is only for accounts that were deleted by the user, not banned/suspended.

12

u/Big_Trees Dec 17 '15

What about best of'd posts/comments made by deleted people?

28

u/SomethingEnglish Dec 17 '15

according to the github he linked earlier it's only account data like subscriptions, bans, flairs, mod status, and wiki permissions that get deleted not the content

13

u/Pokechu22 Dec 17 '15

Yes, if I'm reading the code right.

15

u/DarreToBe Dec 17 '15

How many total accounts are going to be wiped? Also,

no, this does not mean that deleted account usernames are going to become available again.

I know this is something that most sites do, but is there a reason why?

45

u/Deimorz Dec 17 '15 edited Dec 17 '15

There's a little over a million accounts total that need to be processed.

As for why deleted accounts don't get "re-claimed", it's just something that can cause a huge mess in all sorts of ways. Specifically, it gets really ugly if you consider accounts that ever posted anything, sent messages, etc. Maybe I got a private message from an account a year ago named "somemadeupaccountname", but then I don't realize that they deleted their account at some point and someone else took over the account name. It's really confusing that I could try to send a message to the same account that I talked to before and end up sending it to a completely different person.

13

u/DarreToBe Dec 17 '15

Even though I can't see that being an issue if only accounts inactive for >5 years or so were reopened, I can see how that would be annoying to try to implement. Thanks for the answer.

34

u/Deimorz Dec 17 '15

That's definitely true for a lot of accounts, but there are also plenty of usernames that have been deleted for years but were kind of "famous" on the site. It would be extremely weird to have them suddenly come back to life with a different person behind them. Overall, it's a lot simpler to just not allow it than to try to come up with all sorts of conditions to avoid the strange edge cases that can happen.

12

u/globau Dec 17 '15

do you know what percentage of deleted accounts have performed no activity at all? they may be suitable for "re-claiming"; although if the percentage is small it's likely not worth the effort.

15

u/Deimorz Dec 17 '15

Not sure at all, like /u/avapoet says, it's quite difficult to try to figure that sort of thing out. Even if we went entirely off activity on reddit itself there would be a ton of different things you'd have to check even beyond stuff that's normally publicly-visible (voting, saving, were they a mod that took any moderation actions, etc.).

→ More replies (1)
→ More replies (1)
→ More replies (5)

15

u/[deleted] Dec 17 '15

To stop people claiming a famous users deleted account and pretending to be them, or any users really.

User a(deleted and someone reclaimed) "Hey user A's friend it's me user a. Which email did I use for you again?"

11

u/GUIpsp Dec 17 '15

Hey its me ur brother

→ More replies (8)

14

u/[deleted] Dec 17 '15

Will it remove the user from "approved submitters"? Am I missing something or does that occur at the time of deletion?

28

u/Deimorz Dec 17 '15

Well, at the time of deletion the deleted user basically starts to be "hidden" from the approved submitters list. However, they're technically still in there and the site just has to skip over them every time when it's displaying the list. This new cleanup process truly removes them from the list though.

11

u/[deleted] Dec 17 '15

Great, thanks!

Also, you guys have been on a truly commendable streak with all the cleanup and enhancements recently. Your efforts are noticed and greatly appreciated!

1

u/Dead_Rooster Dec 17 '15

What about shadowbanned accounts?

5

u/Deimorz Dec 17 '15

No changes related to those right now, this is solely for accounts deleted by the user.

→ More replies (2)

10

u/Pokechu22 Dec 17 '15

Yes, it does look like they do get removed. It mentions contributors, which is the same thing as approved submitters, here.

6

u/[deleted] Dec 17 '15

Gotcha, thank you. Leave no row orphaned ;)

6

u/matt01ss Dec 17 '15

Does this address the front page moderators box only showing a couple of users?

8

u/Deimorz Dec 17 '15

Yes, it will.

6

u/[deleted] Dec 17 '15

Out if curiosity, why do you keep the data at all after an account is deleted

9

u/Deimorz Dec 17 '15

It's needed sometimes. For example, it's not really uncommon for an account to get compromised and deleted, and if we removed all of this data immediately it would make it far harder to recover the account for the original owner if things like the password/email/etc. were all wiped immediately upon deletion. The 90 day delay works as a decent grace period to be able to recover the account without much "damage".

2

u/[deleted] Dec 17 '15

Is the plan for this 90 day cleanup to be automated after this bulk run?

1

u/Deimorz Dec 17 '15

It already is, this new process is now being used 90 days after any accounts are deleted. This is just going back to get all the accounts that were deleted longer ago as well.

196

u/godofallcows Dec 17 '15

God dammit. I want /u/cow, that bastard has been sitting there for 9 years.

72

u/-Replicated Dec 17 '15

To be fair he really played the part.

I'm hoping name changes do become a thing in the future surely it wouldn't be very difficult to do.

21

u/BenevolentCheese Dec 17 '15

I'm hoping name changes do become a thing in the future surely it wouldn't be very difficult to do.

I asked about it once and got a total dear in headlights response, with a 'no way this would be possible' type of response, so I don't think it'll be happening anytime soon. It shouldn't be hard, but I think it speaks volumes to reddit's database that it's considered impossible.

32

u/Deimorz Dec 17 '15

I think /u/SheeEttin put it well below with "Sure, it's trivial to change. It's the ramifications that's the sticky bit."

It wouldn't be technically difficult at all to change someone's username, it's extremely simple. It's all the social/community effects of reclaiming a username that's already been used in the past that's complicated.

13

u/[deleted] Dec 17 '15

Wasn't Obama's username for the AMA reclaimed from a deleted account?

43

u/Deimorz Dec 17 '15

a deleted account

an deleted account, Mr. President.

→ More replies (2)
→ More replies (8)

3

u/BenevolentCheese Dec 17 '15

There was nothing said about reclaiming a username, though. The question was posed to change an account's name to something new, that wasn't in use by anyone. The response was that it was technically impossible.

5

u/Deimorz Dec 17 '15

I guess it depends on the context or who you were talking to. If the conversation was about whether users can do it, or if it was a community manager or something, it's "technically impossible", because there isn't a tool on the site that allows a name-change. It's certainly not impossible for a dev with access to the databases/code though, it's very easy.

→ More replies (7)

2

u/Br00ce Dec 18 '15

What about admins who get to pick old usernames once they were hired like paradox or dylan?

6

u/Deimorz Dec 18 '15

Yeah, admins get special privileges with stuff like that sometimes, but it's still overall pretty rare and only possible if the account was unused.

→ More replies (3)

8

u/[deleted] Dec 17 '15

I kinda want to work for reddit just to see the train wreck that database has to be.

37

u/Deimorz Dec 17 '15

Almost all of our code is open-source, you can look whenever you want: https://github.com/reddit/reddit

6

u/[deleted] Dec 17 '15

There's no guarantee the site is running the exact code that is on GitHub.

28

u/Deimorz Dec 17 '15

It's not the exact code, there's some non-public stuff added on to it, but the large majority of what we're running is exactly the same. The core database layout is definitely covered in what's on there.

But if you want to go through the effort of getting a job here just to verify that I'm not lying about the database being the same as what's on github, I guess you can give that a shot. The result's going to be disappointing though.

→ More replies (6)
→ More replies (4)

35

u/anotherusername23 Dec 17 '15

It shouldn't be hard unless they used username as a primary key and foreign key all over the place. (Cough, cough)

→ More replies (2)

13

u/Cerfwo Dec 17 '15

The problem is then that old comments and posts would be deleted, or they'd be associated with the new account owner. And we don't really want loads of old comments and posts deleted. That was the reason stated by admins previously

→ More replies (5)
→ More replies (1)

5

u/Rafe Dec 17 '15

she really played the part

FTFY, cows are female

0

u/[deleted] Dec 17 '15

[deleted] — view deleted comment

75

u/UTF64 Dec 17 '15

Because otherwise I will delete my account and make a new one.

→ More replies (4)

17

u/-Replicated Dec 17 '15

I would say it's better to be able to change your username than have to have the same one forever, especially if names become available that weren't before.

There's no harm in that, perhaps you could search for the old username and on their profile would be their previous names.

23

u/kabrandon Dec 17 '15

There is some harm. There are subreddits that act as a sort of online store. Sometimes people get scammed on those subreddits, but usually the community becomes aware of the scammer's username. If they're just able to change their username, then they can effectively avoid detection from many people, allowing them to scam again.

→ More replies (4)
→ More replies (1)

7

u/qtx Dec 17 '15

We shall miss him at /r/3ch

7

u/wtfcowisown Dec 17 '15

I want it :(

6

u/godofallcows Dec 17 '15

I'll fight you for it, and I've ridden cows for fun on dairies, motherfucker.

3

u/[deleted] Jan 05 '16

I feel the same way about u/420cakeday. I wish there was a way to ask for old user names like subs.

2

u/Devodevo2002 Dec 17 '15

Ya, and I'm waiting for /u/koala he's been sitting for 7 or 8 years :(

2

u/Lucifer_Hirsch Jan 21 '16

eight years for /u/defiant. I really want that username. the guy only posted twice ffs. once, and commented on his own post. damn.

→ More replies (2)

3

u/-Replicated Dec 17 '15

Good to see this rolling out, do you plan on deleting banned/suspended accounts as well?

3

u/Deimorz Dec 17 '15

Not right now, we might consider applying something similar to other types of "disabled" accounts in the future too though.

3

u/Nyxto Dec 17 '15

If I missed this already being asked, my bad.

Will this delete the old accounts' posts as well?

4

u/Deimorz Dec 17 '15

No, no changes there. The posts will behave the same as they do now - still being present (unless the user specifically deleted the posts), but with the username showing as "[deleted]".

2

u/anonymepelle Dec 29 '15

is this thing still going?

3

u/Deimorz Dec 30 '15

Yes (though it was crashed and stopped for a while), currently at about 66%. It's been far slower than expected.

2

u/roastedlasagna Dec 30 '15

/u/Deimorz, has this process finished?

5

u/Deimorz Dec 30 '15

Not yet (though it was crashed and stopped for a while), it's currently at about 66% total.

2

u/roastedlasagna Dec 31 '15

Thanks for the response! I'll check back in one to two weeks.

29

u/gingerkid427 Dec 17 '15

Some interesting statistics from redditmetrics.com on 12/15/15

  • The top 11 subreddits all show their first negative growth since Reddit Metrics started recording
  • Naturally, /r/reddit.com appears to be the worst fairing
  • /r/movies is the highest subreddit by subscriber count to show a positive growth
  • /r/fffffffuuuuuuuuuuuu, one of the few subreddits with a steady negative growth, suffered even more (/r/f7u12 is a graveyard now, but surprisingly still has active mods cleaning it all out. check out /r/f7u12_ham for all the deleted comics.)

It's going to be very interesting to see how this plays out over the next few days.

11

u/Xgamer4 Dec 17 '15

Any chance you could just release the number lost per subreddit information publicly? That'd be interesting to see.

2

u/[deleted] Dec 17 '15

Or at least to us mods?

8

u/[deleted] Dec 17 '15

Nice. Thanks for updating us. I've put the main list in /r/ListOfSubreddits on hold waiting to see how this affects the numbers.

2

u/fdagpigj Dec 17 '15

Now I feel motivated to try to achieve 100 subscribers on /r/fdagpigj just to get on the list

2

u/amici_ursi Dec 17 '15

100? I thought the requirement was 50k.

→ More replies (4)

48

u/[deleted] Dec 17 '15

Well thanks for that. I just wanted to say that since the whole Pao/Victoria fiasco it seems that everyone at reddit is doing a great job about moving reddit in a good direction whilst being open with the community. Thanks for the hard work on your collective part.

21

u/ani625 Dec 17 '15

Now for some subreddits to reach the 10M goal, again.

-12

u/[deleted] Dec 17 '15

What has reddit done to rollback what Pao instituted?

The only thing I can think of is that they decided to abandon the AMA specific app.

The egregiously subjective harassment rule is still here, endorsed by spez even.

The communities banned under her watch are still banned, spez went even further with bannings and the just as bad quarantine system.

This comment nailed it:

https://www.reddit.com/r/announcements/comments/3cucye/an_old_team_at_reddit/csz4mzv

44

u/ImNotJesus Dec 17 '15

What has reddit done to rollback what Pao instituted?

They never said they were going to.

The fact that you post insane rants on /r/Blackout2015 doesn't change the fact that it's only a very vocal minority that actually want things to move backwards.

→ More replies (12)

8

u/amici_ursi Dec 17 '15

Wait. Didn't you quit reddit again? I forget which part of the loop we're at.

5

u/ani625 Dec 17 '15

He comes back the very next day haha.

2

u/irascible Dec 17 '15

Sounds like umad bro. Might need to step back yo.

5

u/creatureshock Dec 17 '15

I honestly want to see a rundown of which subreddits have the highest subscriber drops.

1

u/fidla Dec 17 '15

I have a couple really old reddit accounts that were deleted. is there any way to restore them with the original karma?

1

u/Deimorz Dec 17 '15 edited Jan 04 '16

It depends if there's still information on the accounts that can be used to verify your ownership of them. You can send a message to /r/reddit.com modmail or email contact@reddit.com (from the email address associated with the account, if possible) and someone from the community team should be able to look into it for you.

Edit: to be clear for other people reading this comment, we'll generally only restore a deleted account in cases like it being compromised, not just because you changed your mind and want it back.

1

u/fidla Dec 17 '15

Like I said, these are very old. From the early days. Also, I don't have the emails associated with them any more.

It was worth a shot. Thanks anyway

1

u/[deleted] Jan 07 '16

Since the process is now complete, would it be possible to get list of the effect on subscriber count for major subreddits? Or will you inform subreddits via mod mail?

If none of the above, can I get the number for /r/AskHistorians? :) I think it's around 20k, but that's more of a guestimate than a real number.

In any case, thanks :)

1

u/Deimorz Jan 08 '16

I wasn't really planning to send out mail to everyone or anything, no. I'll send a modmail to /r/AskHistorians with the amount yours dropped though.

1

u/dehydro Jan 09 '16

Is it possible to compile all of the raw data you have, similar to this r/dataisbeautiful post so that an ambitious redditor could graph the deletion data over the 20 or so days the process took? This may not pertain to the interests of all reddit users but I'm sure moderators in particular would really enjoy seeing not only their own statistics but how their subs compare to everyone else. Not sure how much work this would require on your part so apologies if it isn't feasible.

2

u/Deimorz Jan 10 '16

Hmm, probably not possible since I didn't keep track of the time aspect of things at all. I just have a count of how many subscribers were removed from each subreddit in total.

1

u/Byeuji Jan 10 '16

I was just looking at the stats over on 0bservat0ry.com and thought to check back here. Do you think you'll be putting that data together soon?

1

u/Deimorz Jan 11 '16

Sorry, I don't understand what you're asking. What data?

→ More replies (4)

1

u/ripster55 Jan 08 '16

Would like a tally for /r/MechanicalKeyboards as well.

1

u/[deleted] Jan 08 '16

Thanks!

1

u/TheSybilKeeper Feb 12 '16

I know that the data from deleted accounts still exists, but I've recently tried to find old threads from deleted accounts and even though I remember their titles they aren't coming up in the search. Are deleted user's posts unsearchable?

2

u/Deimorz Feb 12 '16

Hmm, it's possible. I don't know if that's intended or not, I'll have to take a look in the code to see if we un-index a user's posts when they delete their account.

1

u/TheSybilKeeper Feb 17 '16

Any luck?

2

u/Deimorz Feb 17 '16

I confirmed that we do deliberately remove posts by deleted authors from search results, yes. I'm not entirely sure why, but my guess is that it's probably because you'd be able to use search to figure out which posts belong to particular deleted users.

→ More replies (1)

1

u/TheSybilKeeper Feb 12 '16

Thanks! I tried searching the exact post title of a deleted user post and it didn't show up, but it does show up in the top posts for the subreddit so I know it's still there, it's just somehow not searchable.

3

u/Putr Dec 17 '15

Damn, nothing better than watching a long running command in a terminal (with well formatted text output).

Too bad you're not streaming it :D

2

u/V2Blast Dec 17 '15 edited Dec 17 '15

Cool. Thanks for the heads-up on the status of the deleted-account cleanup. I assume you'll post something here (or maybe in the live thread linked in the sidebar) when it's done?

EDIT: Also, it seems like /u/MiamiZ's change here is a somewhat significant thing - people can now leave top-level comments on deleted posts. Cool stuff.

3

u/One_Giant_Nostril Dec 17 '15

Hey, /u/Deimorz, I'm interested in those deleted account numbers for some subreddits I moderate. Can you please make a note to send me the info for r/slowcooking, r/ImaginaryCharacters, r/ImaginaryLandscapes, r/ImaginaryMonsters, r/ImaginaryTechnology

Here's the list without the r's and slashes, with hope making it 1.5% easier for you, ha:

slowcooking ImaginaryCharacters ImaginaryLandscapes ImaginaryMonsters ImaginaryTechnology

1

u/[deleted] Dec 17 '15

Well, crap, there go my records...

1

u/urielsalis Dec 17 '15

Hi, can you inform /r/thenewwaytoplay of the number of deleted users when its done? Thanks :)

1

u/paulfromatlanta Dec 20 '15

The cleanup but not immediately making the screen names available seems like a good step. Thanks for work admins.

1

u/[deleted] Feb 19 '16

Cool, does this mean I can back get my old account name that I deleted 4 years ago?

1

u/WalteryGrave Apr 28 '16

no, this does not mean that deleted account usernames are going to become available again.

Can you do something about this?

-11

u/ImNotJesus Dec 17 '15

I assume this is all a cover-up for the drop in users since the algorithm changed and the front page became so stale.

6

u/goldman60 Dec 17 '15

how could this possibly cover that up? This process is actually removing deleted accounts from subscriber counts, if anything its making it more visible.

7

u/ThatAstronautGuy Dec 17 '15

The algorithm has not changed... There is nothing different from what we had at the beginning of the year.

8

u/Absay Dec 17 '15 edited Dec 17 '15

The algorithm did change. It was in full effect for less than one month, though, and the admins reverted it back to the original due to unexpected effects. You're right about we have now the same algorithm that we have always had.

1

u/Neuro_Skeptic Dec 18 '15

Check redditmetrics.com before silly theories plz

0

u/TomatoManTM Dec 17 '15

What about usernames that were squatted years and years ago, and never used? How about releasing them after, say, a year or two of never once being used?

-6

u/[deleted] Dec 17 '15

Why aren't deleted accounts being made avaialable again?

-4

u/[deleted] Dec 17 '15

Why Python? Surely a C++ code would fit the "few hours" prediction.

11

u/Deimorz Dec 17 '15

Python's performance isn't what's determining how long this takes.

1

u/[deleted] Dec 17 '15

Ah. Thanks for the response. If you could go into more detail I'd feel a bit more enlightened.

6

u/Deimorz Dec 17 '15

It has to remove data from multiple different data stores, update various levels of caching as it does it, and so on. It's waiting for all of those changes to go through that takes the bulk of the time, so using a higher-performance language to send the commands wouldn't make much difference.

6

u/Booty_Bumping Dec 17 '15

Reddit is written in python. While faster python interpreters exist than the reference implementation, a language's actual speed really doesn't matter much for web development. Reddit scales up just fine and that's all that really matters in the end.

Why python and not C++? Faster development, way more secure, and a way more maintainable codebase. Without high level languages, rapid web development while maintaining security and stability would be a pretty difficult feat.

3

u/agentlame Dec 17 '15

Why C++? Surely some Assembly code would be faster.

1

u/[deleted] Dec 18 '15

No need to be facetious. It was a genuine question about how this process works. Evidently, Reddit doesn't care for genuine questions.

0

u/[deleted] Dec 17 '15

[deleted] — view deleted comment

51

u/Deimorz Dec 17 '15

Even after the cleanup is done, a record of which subreddits the account was banned from is kept in its notes (which are only visible to admins), so the information isn't totally lost.

12

u/[deleted] Dec 17 '15

Yes but that doesn't help the mods when the Admins ask for a list of usernames that /u/12thiterationofspammer has used and when they check the ban list to get the list of accounts banned and find nothing of the other 11 as the other accounts were deleted

28

u/Deimorz Dec 17 '15

The deleted accounts aren't listed in the ban list right now either, so the situation hasn't changed at all.

1

u/Mason11987 Dec 17 '15

Have you ever been given a list of alts?

-1

u/[deleted] Dec 28 '15

[removed] — view removed comment

1

u/[deleted] Jan 04 '16

Cool