{"id":29095,"date":"2017-02-03T18:01:18","date_gmt":"2017-02-03T10:01:18","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=29095"},"modified":"2017-02-03T17:30:41","modified_gmt":"2017-02-03T09:30:41","slug":"gitlab-down-for-a-day","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/","title":{"rendered":"Minor Mistake, Major Catastrophe  &#8211; GitLab Goes Offline For a Day"},"content":{"rendered":"<p><a target=\"_blank\" href=\"https:\/\/about.gitlab.com\/\">GitLab<\/a>, a startup that is an alternative to the highly popular <a href=\"https:\/\/www.hongkiat.com\/blog\/create-github-page\/\">GitHub<\/a>, has had a rather rough day recently as a <strong>human error caused the whole website to be down for a full day<\/strong>.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/github-overlooked-features\/\">10 Useful Github Features to Know<\/a>\n\t\t\t\t<\/p>\n<p>GitLab\u2019s problem first began when the <strong>website was experiencing load time and stability problems<\/strong>. The website was brought offline in order to rectify the issues. However, during the maintenance,<strong> someone unwittingly made the mistake of accidentally deleting a directory containing 300GB of live production data<\/strong>.<\/p>\n<p>Fortunately for GitLab, the contents that were deleted only <strong>affected issues and merged requests<\/strong>. The repositories and wikis were not affected by this mistake in any way, meaning that the <strong>damage caused by this mistake was not as severe<\/strong> as it could have been<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/gitlab-down-for-a-day\/01-gitlab-live-notes.jpg\" width=\"562\" height=\"692\" alt=\"gitlab tweets\"><\/figure>\n<p>With the directory deleted, the GitLab personnel immediately turn towards its backup. Unfortunately for them, GitLab ran into <strong>yet another problem<\/strong>. According to the <a target=\"_blank\" href=\"https:\/\/docs.google.com\/document\/d\/1GCK53YDcBWQveod9kfzW-VCxIABGiryG7_z_6jHdVik\/pub\" rel=\"nofollow\">Google Doc file <\/a>that was constantly being updated as GitLab struggles to get back online, all 5 backup\/replication <strong>techniques that the website deployed failed to work reliably<\/strong>, and in some cases were <strong>never set up in the first place<\/strong>.<\/p>\n<p><strong>Retrieving these lost files from the cloud<\/strong> is not an option for GitLab either as the startup decided late last year to <strong>dump the cloud in order <a target=\"_blank\" href=\"https:\/\/www.theregister.co.uk\/2016\/11\/14\/gitlab_to_dump_cloud_for_its_own_bare_metal_ceph_boxen\/\">to build and operate its own Ceph clusters instead<\/a><\/strong>. Needless to say, GitLab is now reconsidering their stance on that particular topic.<\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"en\">\n<p lang=\"en\" dir=\"ltr\"><a target=\"_blank\" href=\"https:\/\/twitter.com\/TheRegister\">@TheRegister<\/a> <a target=\"_blank\" href=\"https:\/\/twitter.com\/gitlab\">@gitlab<\/a> will be working on making the application more performant and exploring alternative cloud hosting providers.<\/p>\n<p>  \u2014 Connor Shea (@connorjshea) <a target=\"_blank\" href=\"https:\/\/twitter.com\/connorjshea\/status\/826630980282761218\">February 1, 2017<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p>Despite the tumultuous day that GitLab has had, the website is now up and running as per normal. While the website <strong>reported that some data was lost during a six-hour window<\/strong>, the Git <strong>repositories were left unharmed<\/strong> throughout the entire ordeal. A full incident log of the entire event can be viewed<a target=\"_blank\" href=\"https:\/\/about.gitlab.com\/2017\/02\/01\/gitlab-dot-com-database-incident\/\"> here<\/a>.<\/p>\n<p>While many <strong>lessons can be learned from GitLab\u2019s little mistake<\/strong> (mainly hubris), GitLab\u2019s method of handling the crisis is rather admirable as<strong> the startup was clear and transparent with its users<\/strong>. Here\u2019s to hoping that GitLab learns from this mistake. Otherwise, its user base would probably be less forgiving if history repeats itself.<\/p>\n<p>Source: <a target=\"_blank\" href=\"https:\/\/www.theregister.co.uk\/2017\/02\/01\/gitlab_data_loss\/?mt=1485932441853\">The Register<\/a><\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/guide-to-using-git-on-android\/\">Using Git on Android \u2013 Free Tools and Guide<\/a>\n\t\t\t\t<\/p>","protected":false},"excerpt":{"rendered":"<p>GitLab, a startup that is an alternative to the highly popular GitHub, has had a rather rough day recently as a human error caused the whole website to be down for a full day. GitLab\u2019s problem first began when the website was experiencing load time and stability problems. The website was brought offline in order&hellip;<\/p>\n","protected":false},"author":157,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3398,3976],"tags":[2726],"topic":[4523,4521],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Minor Mistake Caused Major Outage for Gitlab<\/title>\n<meta name=\"description\" content=\"GitLab, a startup that is an alternative to the highly popular GitHub, has had a rather rough day recently as a human error caused the whole website to be\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Minor Mistake, Major Catastrophe - GitLab Goes Offline For a Day\" \/>\n<meta property=\"og:description\" content=\"GitLab, a startup that is an alternative to the highly popular GitHub, has had a rather rough day recently as a human error caused the whole website to be\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-03T10:01:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/gitlab-down-for-a-day\/01-gitlab-live-notes.jpg\" \/>\n<meta name=\"author\" content=\"Sia\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sia\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/\"},\"author\":{\"name\":\"Sia\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/25661c0ca5beef807a38c0d038894641\"},\"headline\":\"Minor Mistake, Major Catastrophe &#8211; GitLab Goes Offline For a Day\",\"datePublished\":\"2017-02-03T10:01:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/\"},\"wordCount\":387,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/gitlab-down-for-a-day\\\/01-gitlab-live-notes.jpg\",\"keywords\":[\"GitHub\"],\"articleSection\":[\"Internet\",\"News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/\",\"name\":\"Minor Mistake Caused Major Outage for Gitlab\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/gitlab-down-for-a-day\\\/01-gitlab-live-notes.jpg\",\"datePublished\":\"2017-02-03T10:01:18+00:00\",\"description\":\"GitLab, a startup that is an alternative to the highly popular GitHub, has had a rather rough day recently as a human error caused the whole website to be\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/gitlab-down-for-a-day\\\/01-gitlab-live-notes.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/gitlab-down-for-a-day\\\/01-gitlab-live-notes.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/gitlab-down-for-a-day\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Minor Mistake, Major Catastrophe &#8211; GitLab Goes Offline For a Day\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/25661c0ca5beef807a38c0d038894641\",\"name\":\"Sia\",\"description\":\"A tech journalist for Hongkiat.com, Sia writes reviews on new products and services in the tech industry.\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/sia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Minor Mistake Caused Major Outage for Gitlab","description":"GitLab, a startup that is an alternative to the highly popular GitHub, has had a rather rough day recently as a human error caused the whole website to be","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/","og_locale":"en_US","og_type":"article","og_title":"Minor Mistake, Major Catastrophe - GitLab Goes Offline For a Day","og_description":"GitLab, a startup that is an alternative to the highly popular GitHub, has had a rather rough day recently as a human error caused the whole website to be","og_url":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2017-02-03T10:01:18+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/gitlab-down-for-a-day\/01-gitlab-live-notes.jpg","type":"","width":"","height":""}],"author":"Sia","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Sia","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/"},"author":{"name":"Sia","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/25661c0ca5beef807a38c0d038894641"},"headline":"Minor Mistake, Major Catastrophe &#8211; GitLab Goes Offline For a Day","datePublished":"2017-02-03T10:01:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/"},"wordCount":387,"commentCount":1,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/gitlab-down-for-a-day\/01-gitlab-live-notes.jpg","keywords":["GitHub"],"articleSection":["Internet","News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/","url":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/","name":"Minor Mistake Caused Major Outage for Gitlab","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/gitlab-down-for-a-day\/01-gitlab-live-notes.jpg","datePublished":"2017-02-03T10:01:18+00:00","description":"GitLab, a startup that is an alternative to the highly popular GitHub, has had a rather rough day recently as a human error caused the whole website to be","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/gitlab-down-for-a-day\/01-gitlab-live-notes.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/gitlab-down-for-a-day\/01-gitlab-live-notes.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/gitlab-down-for-a-day\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Minor Mistake, Major Catastrophe &#8211; GitLab Goes Offline For a Day"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/25661c0ca5beef807a38c0d038894641","name":"Sia","description":"A tech journalist for Hongkiat.com, Sia writes reviews on new products and services in the tech industry.","url":"https:\/\/www.hongkiat.com\/blog\/author\/sia\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-7zh","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/157"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=29095"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29095\/revisions"}],"predecessor-version":[{"id":29102,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29095\/revisions\/29102"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=29095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=29095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=29095"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=29095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}