{"id":71107,"date":"2024-02-09T15:19:54","date_gmt":"2024-02-09T19:19:54","guid":{"rendered":"https:\/\/coinscreed.com\/staging\/?p=71107"},"modified":"2024-02-09T15:19:57","modified_gmt":"2024-02-09T19:19:57","slug":"solana-outage-what-caused-it-and-how-it-was-fixed","status":"publish","type":"post","link":"https:\/\/coinscreed.com\/staging\/solana-outage-what-caused-it-and-how-it-was-fixed\/","title":{"rendered":"Solana Outage: What Caused It and How It Was Fixed"},"content":{"rendered":"\n<p>Solana, a fast-growing blockchain platform, suffered a five-hour outage earlier this month due to a technical glitch. <a href=\"https:\/\/coinscreed.com\/staging\/solana-labs-launches-web3-incubator-program.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Solana Labs <\/a>has released a root cause analysis and a solution to prevent future incidents.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/coinscreed.com\/staging\/wp-content\/uploads\/2024\/02\/solana-blockchain--1024x576.jpeg\" alt=\"Solana Outage: What Caused It and How It Was Fixed\" class=\"wp-image-71117\" srcset=\"https:\/\/coinscreed.com\/staging\/wp-content\/uploads\/2024\/02\/solana-blockchain--1024x576.jpeg 1024w, https:\/\/coinscreed.com\/staging\/wp-content\/uploads\/2024\/02\/solana-blockchain--300x169.jpeg 300w, https:\/\/coinscreed.com\/staging\/wp-content\/uploads\/2024\/02\/solana-blockchain--768x432.jpeg 768w, https:\/\/coinscreed.com\/staging\/wp-content\/uploads\/2024\/02\/solana-blockchain--750x422.jpeg 750w, https:\/\/coinscreed.com\/staging\/wp-content\/uploads\/2024\/02\/solana-blockchain--1140x641.jpeg 1140w, https:\/\/coinscreed.com\/staging\/wp-content\/uploads\/2024\/02\/solana-blockchain-.jpeg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Solana, a blockchain platform that claims to offer high speed, low cost, and scalability, faced a major disruption on February 4, 2024. The platform stopped producing blocks for about five hours, affecting all transactions and applications running on Solana. <\/p>\n\n\n\n<p>The outage sparked speculation and criticism among the crypto community, as some questioned the security and reliability of Solana.<\/p>\n\n\n\n<p>Solana Labs,\u00a0the company behind Solana, quickly acknowledged the issue and mobilized its engineers to investigate and resolve it. Solana Labs also promised to provide a transparent and detailed explanation of the incident and its implications.<\/p>\n\n\n\n<p>The firm has released a root cause analysis of the Solana outage, revealing that the incident was not caused by a hack or an attack but by a technical bug in the platform\u2019s code. The bug was triggered by a specific transaction sequence involving a legacy loader program, which is used to deploy and execute smart contracts on Solana.<\/p>\n\n\n\n<p>According to the analysis, the bug caused an infinite loop of recompilation in the just-in-time (JIT) cache, which is a mechanism that optimizes the execution of smart contracts. The loop consumed all the available memory and CPU resources of the validators, which are the nodes that process and validate transactions on Solana. As a result, the validators became overloaded and unable to produce new blocks.<\/p>\n\n\n\n<p>The analysis also revealed that the bug was detected a week before the outage when it caused a similar disruption on Solana\u2019s Devnet, which is a test network for developers. However, the bug was not fixed in time, as it was considered a low-priority issue that only affected the Devnet.<\/p>\n\n\n\n<p>Solana Labs has implemented a solution to fix the bug and prevent future incidents. The solution involves replacing the legacy loader program with a new one that does not trigger the bug and deprecating the old one. The solution also involves replacing the ineffective cache system with a new one that avoids the recompilation loop and updating the network protocol to support the changes.<\/p>\n\n\n\n<p>Solana Labs has deployed the solution on the Devnet and the Testnet, which are the testing and staging networks for Solana and has verified its effectiveness and stability. The company has also released the solution to the Mainnet, which is the live network for Solana and has asked the validators to upgrade their software accordingly.<\/p>\n\n\n\n<p>Solana Labs has apologized for the inconvenience and frustration caused by the outage and has thanked the community for its support and patience. The blockchain firm has also pledged to improve its quality assurance and incident response processes and to conduct a thorough review of its code and architecture.<\/p>\n\n\n\n<p>The Solana outage had a negative impact on the crypto market, as it affected the price and sentiment of Solana and its related tokens and projects. Solana, which is the sixth-largest cryptocurrency by market capitalization, dropped by more than 8% after the outage was announced, reaching a low of $102.1.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"embed-twitter\"><blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">Block production on Solana mainnet beta resumed at 14:57 UTC, following a successful upgrade to v1.17.20 and a restart of the cluster by validator operators. Engineers will continue to monitor performance as network operations are restored.<br><br>The outage began at approximately\u2026<\/p>&mdash; Solana Status (@SolanaStatus) <a href=\"https:\/\/twitter.com\/SolanaStatus\/status\/1754884855857291730?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">February 6, 2024<span class=\"wpil-link-icon\" title=\"Link goes to external site.\" style=\"margin: 0 0 0 5px;\"><svg width=\"24\" height=\"24\" style=\"height:16px; width:16px; fill:#000000; stroke:#000000; display:inline-block;\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" xmlns:svg=\"http:\/\/www.w3.org\/2000\/svg\"><g id=\"wpil-svg-outbound-7-icon-path\" fill=\"none\" clip-path=\"url(#clip0_31_188)\">\r\n                            <path d=\"M9.16724 14.8891L20.1672 3.88908\" stroke-linecap=\"round\"\/>\r\n                            <path d=\"M13.4497 3.53554L20.5208 3.53554L20.5208 10.6066\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\r\n                            <path d=\"M17.5 13.5L17.5 16.26C17.5 17.4179 17.5 17.9968 17.2675 18.4359C17.0799 18.7902 16.7902 19.0799 16.4359 19.2675C15.9968 19.5 15.4179 19.5 14.26 19.5L7.74 19.5C6.58213 19.5 6.0032 19.5 5.56414 19.2675C5.20983 19.0799 4.92007 18.7902 4.73247 18.4359C4.5 17.9968 4.5 17.4179 4.5 16.26L4.5 9.74C4.5 8.58213 4.5 8.0032 4.73247 7.56414C4.92007 7.20983 5.20982 6.92007 5.56414 6.73247C6.0032 6.5 6.58213 6.5 7.74 6.5L11 6.5\" stroke-linecap=\"round\"\/>\r\n                        <\/g>\r\n                        <defs>\r\n                            <clipPath id=\"clip0_31_188\">\r\n                                <rect fill=\"white\" height=\"24\" width=\"24\"\/>\r\n                            <\/clipPath>\r\n                        <\/defs><\/svg><\/span><\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/div>\n<\/div><\/figure>\n\n\n\n<p>The outage also affected the performance and reputation of <a href=\"https:\/\/coinscreed.com\/staging\/solana-launches-new-tool-for-developers.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Solana-based applications,<\/a> such as decentralized exchanges, lending platforms, and gaming platforms.<\/p>\n\n\n\n<p>However, the Solana outage also positively impacted the crypto market, as it demonstrated the resilience and recovery of Solana and its community. Solana bounced back quickly after the outage was resolved and regained its momentum and growth. <\/p>\n\n\n\n<p>Solana, which is one of the fastest-growing cryptocurrencies in the past year, rose by 2.4% in the past 24 hours, reaching a high of $106.51. <\/p>\n\n\n\n<p>The outage also highlighted the innovation and potential of Solana and its ecosystem, which offer a competitive alternative to other blockchain platforms, such as Ethereum.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Solana, a fast-growing blockchain platform, suffered a five-hour outage earlier this month due to a technical glitch. Solana Labs has released a root cause analysis and a solution to prevent future incidents. Solana, a blockchain platform that claims to offer high speed, low cost, and scalability, faced a major disruption on February 4, 2024. The [&hellip;]<\/p>\n","protected":false},"author":44,"featured_media":71117,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21],"tags":[275,18357],"class_list":["post-71107","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-solana","tag-solana-outage"],"jetpack_featured_media_url":"https:\/\/coinscreed.com\/staging\/wp-content\/uploads\/2024\/02\/solana-blockchain-.jpeg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/posts\/71107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/users\/44"}],"replies":[{"embeddable":true,"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/comments?post=71107"}],"version-history":[{"count":0,"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/posts\/71107\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/media\/71117"}],"wp:attachment":[{"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/media?parent=71107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/categories?post=71107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coinscreed.com\/staging\/wp-json\/wp\/v2\/tags?post=71107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}