Slashdot Mirror


Developer Accidentally Deletes Production Database On Their First Day On The Job (qz.com)

An anonymous reader quotes Quartz: "How screwed am I?" asked a recent user on Reddit, before sharing a mortifying story. On the first day as a junior software developer at a first salaried job out of college, his or her copy-and-paste error inadvertently erased all data from the company's production database. Posting under the heartbreaking handle cscareerthrowaway567, the user wrote, "The CTO told me to leave and never come back. He also informed me that apparently legal would need to get involved due to severity of the data loss. I basically offered and pleaded to let me help in someway to redeem my self and i was told that I 'completely fucked everything up.'"
The company's backups weren't working, according to the post, so the company is in big trouble now. Though Qz adds that "the court of public opinion is on the new guy's side. In a poll on the tech site the Register, less than 1% of 5,400 respondents thought the new developer should be fired. Forty-five percent thought the CTO should go."

17 of 418 comments (clear)

  1. How the fuck by Gojira+Shipi-Taro · · Score: 5, Insightful

    How the fuck does a new hire have that kind of access? that's not even enough time for on-boarding. The CTO should definitely get the shitcan, as should anyone in HR involved in that debacle.

    --
    "Oh my God. This is terrible. This is the end of my Presidency. I'm fucked."; ~ Donald J. Trump
    1. Re:How the fuck by Anonymous Coward · · Score: 5, Insightful

      The entire CXX staff level should be let go. Why a person fresh off the street had permission to even make a mistake of such magnitude is beyond me.

    2. Re:How the fuck by Anonymous Coward · · Score: 1, Insightful

      easy. it is entirely FICTION. it's reddit. this same shit's been done there before, and it shall be done there again.

      congratulations, you've been bamboozled, along with most everybody else.

    3. Re:How the fuck by lucm · · Score: 4, Insightful

      The entire CXX staff level should be let go.

      First, "CXX" level is not "staff". Second, firing the entire senior management team because of this incident would be completely reckless. I understand the outrage but that's not how companies work in real life. The last thing a company in that situation needs is more instability.

      The proper way to address this is to stabilize the situation, then make sure the problem cannot occur again. And this typically doesn't simply mean firing people, because odds are that there are cultural or organizational factors that made this situation possible (crazy deadlines, shoestring budgets, etc.), and those would probably lead the replacement to making the same kind of mistakes down the road.

      What is needed is new processes and controls. You start with a simple governance framework (like COBIT maybe) where each part of the IT ecosystem is linked to a specific business leader, then you let each of those leaders make sure that their area of responsibility is well managed from a risk perspective. That's how you make the company more resilient, not by firing people who maybe were not empowered to make the right decisions in the first place.

      --
      lucm, indeed.
    4. Re:How the fuck by dbIII · · Score: 3, Insightful

      The article said the business had a couple hundred people at most and 40+ developers.

      Not exactly a small business deluded sig guy.

    5. Re: How the fuck by Tomahawk · · Score: 5, Insightful

      Agreed. Has they said it was a month in then maybe it could be believed. But onlyâ day one you're only getting down around, here's your PC, here's your password, Joe will show you around the product later and explain what we do, the toilets are that way...

      On day one, there'd be no production access. Nor access to source code. And if he did have that of the was access, and changes would be scrutinised.
      So, yeah, it's a fake.

      An interesting hypothetical scenario, though -- if it did happen, given the info available, then who's to blame?

      The new dev? No: first day, fresh out of college, mistakes should be expected. He shouldn't have had that level of access, and his immediate superiors should have been keeping a close eye.

      His immediate superiors? Possibly. How did they let someone new make such a big error? Why did they allow him to do anything at all?

      The DBAs? No working backups on a production database? No transaction logs that could be rolled back? No DR solution in place? Basic stuff here that were all missed. So definitely some blame sits her.

      CTO? Hard to say. Certainly policies should be in place to ensure this shouldn't happen, so why did it under their watch? Were the staff too overworked that they didn't have time to get the basics right?

      To properly sign any blame, more information is needed. We don't have all the facts. To many questions remain unanswered.

      There is a general human flaw that this story highlights, though, which is that the majority will sign blame based on too few facts. This comes up time and time again, both here and elsewhere. Take, for example, "Making A Murderer" -- how many petitioned to have Stephen released based on 10 hours of a TV show that really only showed one side of the story? There were more than 200 hours' of testimony to try to show all of the available facts for the jury to make a decision.

      This is a similar case -- one reddit post describing things from the point of view of developer who was on his first day ever working. There's tonnes of missing information here.

      Still, and interesting scenario to ponder as a thought experiment.

    6. Re:How the fuck by Calydor · · Score: 5, Insightful

      If it wasn't a pain in the ass it wouldn't be called work.

      --
      -=This sig has nothing to do with my comment. Move along now=-
    7. Re: How the fuck by Defakto · · Score: 4, Insightful

      As a manager and supervisor I wouldn't put you out on the floor without a senior to ensure you could handle and to QA the work. The first 6-12 months are hour learning and trust building phase. I expect mistakes during this time and I expect your peers to work with you on new projects to ensure those mistakes don't happen .

    8. Re: How the fuck by whoever57 · · Score: 4, Insightful

      The CTO is hardly to blame, it's not his business to handle such processes

      But it is his job to ensure appropriate security and backups for the production database.

      --
      The real "Libtards" are the Libertarians!
    9. Re: How the fuck by lgw · · Score: 4, Insightful

      He was a developer not a systems administrator. There is NO reason why he should even be allowed access to production data, let alone live production data.

      Welcome to DevOps. It's the fad sweeping the industry. Yes, it's exactly as stupid as you think it is. It's so obviously wrong, so mind-bogglingly stupid that only a manager with an MBA could possibly have thought it up. So of course it's the latest fad.

      --
      Socialism: a lie told by totalitarians and believed by fools.
  2. "Their backups weren't working." by Chas · · Score: 4, Insightful

    Okay, the guy fucked up ROYALLY.

    It happens. And he SHOULD get in a bit of trouble for it. That's how you learn "don't do that". I don't think they deserve to lose their job though.

    The CTO and all the people in charge of the backups need to be on the street YESTERDAY though. That the dev COULD do something like this is a major fuckup on their part. They simply didn't have their production system locked down properly.

    The fact that their backup system was non-functional is double-plus unforgiveable. The dev is merely the highlight for their massive cluster-fuck of a setup.

    --


    Chas - The one, the only.
    THANK GOD!!!
    1. Re:"Their backups weren't working." by Just+Some+Guy · · Score: 4, Insightful

      But his mistake was easy to make and should have resulted in an "access denied" error message. If you give a five year old a hammer and say "don't whack shit with this", and they whack shit with it, you're the one done goofed.

      --
      Dewey, what part of this looks like authorities should be involved?
  3. If backups are not working and this is known... by nomad63 · · Score: 4, Insightful

    If a company looks at a non-working backups as a minor inconvenience, I think the CTO's ass should be on the firing line before this poor guy's. Yes, wat he did is inexcusable and in some cases, firing might be justifiable (as in, a junior developer on his first day in his/her job doing what on a production database case) but if someone assigned him/her to perform anything on the company-critical data, that person should be the one getting fired, not this guy's. I am a 20+ year experienced sysadmin and not too long time ago, when I started at a new position, I was not able to touch any system other than few development machines for 2+ months of my start date and I know/knew my shit. This company management shows their incompetency in more ways than one. Yet they are making this person the scapegoat. Good riddance to them, as their days are numbered.

    --

    __________
    The more I know people, the more I love animals
  4. Re:Why Was He Mucking With It In The First Place? by lucm · · Score: 2, Insightful

    Having production databases that can be reached from developers workstations is always a bad idea. They were lucky, in a way, that the developer deleted the data and didn't just alter it slightly.

    Firewalls, people, they're not just there to block wordpress exploit scanners. Danger can come from insiders, and that includes hostile employees as well as clueless morons.

    --
    lucm, indeed.
  5. be happy by ooloorie · · Score: 4, Insightful

    You don't want to work at a company where the backups don't work and where a new hire can accidentally delete all their data. Don't beg to stay, instead be happy that you found out quickly how incompetent that company actually is.

  6. Re: Old News... by KGIII · · Score: 5, Insightful

    Retired boss, here. If a junior dev can push to prod AND can delete data, it isn't their fault. Okay... I am still going to try to salvage my hire and see if they fit in QA, or see if the debs will stop fucking with him. Seriously, not his fault. Nobody should be able to push to prod, withou someone signing off. Ask me how I fucking know. I'm not even a programmer. I just paid a lot of you and shut the hell up and listened.

    So, if I am wrong then they were wrong. You don't push code to prod without someone signing off. The person signing off has ultimate authority. You sure as fuck don't let a junior do it, without oversight. Not now, not ever.

    If this happened in my shop, some titles would have been changed.

    --
    "So long and thanks for all the fish."
  7. Recent grad given full production access by DukeLinux · · Score: 4, Insightful

    What even marginally competent IT manager would give an inexperienced person the ability to modify or delete production objects? I feel sorry for this guy, but his management is completely at fault here. We know the story. Nothing will happen to them and one or more will likely get promoted.