{"id":13203,"date":"2026-02-11T16:16:48","date_gmt":"2026-02-11T08:16:48","guid":{"rendered":"https:\/\/www.gbase8.cn\/?p=13203"},"modified":"2026-02-11T16:17:20","modified_gmt":"2026-02-11T08:17:20","slug":"gbase-8a%e9%80%9a%e8%bf%87gcadmin-recover%e5%91%bd%e4%bb%a4%e7%ae%a1%e7%90%86%e5%90%8c%e6%ad%a5%e4%bb%bb%e5%8a%a1","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/13203","title":{"rendered":"GBase 8a\u901a\u8fc7gcadmin recover\u547d\u4ee4\u7ba1\u7406\u540c\u6b65\u4efb\u52a1,\u8bbe\u7f6evc\u4f18\u5148\u6062\u590d"},"content":{"rendered":"\n<p>gcrecover\u662fGBase 8a\u96c6\u7fa4\u5185\u7f6e\u7684\uff0c\u7528\u4e8e\u6062\u590d\u96c6\u7fa4event\u7684\u670d\u52a1\uff0c\u90e8\u7f72\u5728\u6bcf\u4e2a\u7ba1\u7406\uff08gcluster\uff09\u8282\u70b9\u4e0a\u3002\u901a\u8fc7gcadmin recover\u547d\u4ee4\uff0c\u5b9e\u73b0\u6682\u505c\uff0c\u6062\u590d\u540c\u6b65\u5de5\u4f5c\uff0c\u8bbe\u7f6e\u6216\u53d6\u6d88\u67d0\u4e2aVC\u4f18\u5148\u6062\u590d\u7b49\u529f\u80fd\u3002<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u5f55\u5bfc\u822a<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2b724426ca6\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2b724426ca6\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#%E5%91%BD%E4%BB%A4%E5%8F%82%E6%95%B0\" >\u547d\u4ee4\u53c2\u6570<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#pause\" >pause<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#continue\" >continue<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#highpriority_vc_name_event_type\" >highpriority vc_name [event_type]<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#show_status\" >show status<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#show_highpriority\" >show highpriority<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#%E6%A0%B7%E4%BE%8B\" >\u6837\u4f8b<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#%E6%9A%82%E5%81%9C%E5%92%8C%E6%81%A2%E5%A4%8D\" >\u6682\u505c\u548c\u6062\u590d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#%E8%AE%BE%E7%BD%AE%E5%92%8C%E5%8F%96%E6%B6%88%E9%AB%98%E4%BC%98%E5%85%88%E7%BA%A7\" >\u8bbe\u7f6e\u548c\u53d6\u6d88\u9ad8\u4f18\u5148\u7ea7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#gc_recoverlog%E6%97%A5%E5%BF%97\" >gc_recover.log\u65e5\u5fd7<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.gbase8.cn\/en\/13203\/#%E6%80%BB%E7%BB%93\" >\u603b\u7ed3<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%91%BD%E4%BB%A4%E5%8F%82%E6%95%B0\"><\/span>\u547d\u4ee4\u53c2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u6267\u884cgcadmin --help, \u5982\u679c\u80fd\u770b\u5230\u6709recover\u90e8\u5206\uff0c\u5219\u8bc1\u660e\u8be5\u7248\u672c\u652f\u6301\u6b64\u529f\u80fd\u3002\u8f93\u51fa\u6837\u4f8b\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>        27. gcadmin recover &lt;&#91;pause | continue | cancel highpriority | show &lt; status | highpriority >] |\r\n                             &#91;highpriority vc_name &#91;event_type]]>                                         : event_type: {ddlevent | dmlevent | dmlstorage}\r\n<\/code><\/pre>\n\n\n\n<p>\u652f\u6301\u7684\u529f\u80fd\u5305\u62ec<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"pause\"><\/span>pause<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6682\u505cgcrecover\u670d\u52a1\u3002\u6b63\u5728\u6062\u590d\u4e2d\u7684\u4f1a\u7ee7\u7eed\uff0c\u4f46\u4e0d\u4f1a\u6709\u65b0\u7684\u6062\u590d\u4efb\u52a1\u542f\u52a8\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"continue\"><\/span>continue<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6062\u590dgcrecover\u670d\u52a1\u3002\u5982\u679c\u5904\u4e8epause\u72b6\u6001\uff0c\u5219\u6062\u590d\u6210\u6b63\u5e38\uff0c\u5426\u5219\u88ab\u5ffd\u7565\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"highpriority_vc_name_event_type\"><\/span>highpriority vc_name [event_type]<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u8bbe\u7f6e\u67d0\u4e2aVC\u4f18\u5148\u6062\u590d\uff0c\u53ef\u9009\u53c2\u6570\u53ef\u8bbe\u7f6e\u4e09\u79cdevent\u7c7b\u578b\uff0c\u5305\u62ecddlevent \u3001dmlevent |dmlstorage\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"show_status\"><\/span>show status<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u5f53\u524dgcrecover\u670d\u52a1\u72b6\u6001\u3002continue\u4e3a\u6b63\u5e38\u670d\u52a1\u72b6\u6001(\u9ed8\u8ba4)\uff0cpause\u4e3a\u6682\u505c\u72b6\u6001\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"show_highpriority\"><\/span>show highpriority<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u663e\u793a\u5f53\u524d\u4f18\u5148\u6062\u590d\u7684vc\u4ee5\u53ca\u7c7b\u578b(\u5982\u679c\u8bbe\u7f6e\u4e86\uff0c\u5426\u5219\u4e3a\u5168\u90e8\u7c7b\u578b)\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u6ca1\u6709\u4f18\u5148\u7684\uff0c\u5219\u8fd4\u56deNone\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%A0%B7%E4%BE%8B\"><\/span>\u6837\u4f8b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%9A%82%E5%81%9C%E5%92%8C%E6%81%A2%E5%A4%8D\"><\/span>\u6682\u505c\u548c\u6062\u590d<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u53ef\u4ee5\u591a\u6b21\u6682\u505c\u6216\u6062\u590d\uff0c\u4e0d\u4f1a\u62a5\u9519\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;gbase@vm151 config]$ gcadmin recover pause\r\ngcadmin recover pause success\r\n&#91;gbase@vm151 config]$ gcadmin recover pause\r\ngcadmin recover pause success\r\n&#91;gbase@vm151 config]$ gcadmin recover show status\r\npause\r\n&#91;gbase@vm151 config]$ gcadmin recover continue\r\ngcadmin recover continue success\r\n&#91;gbase@vm151 config]$ gcadmin recover continue\r\ngcadmin recover continue success\r\n&#91;gbase@vm151 config]$ gcadmin recover show status\r\ncontinue\r\n&#91;gbase@vm151 config]$\r\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%AE%BE%E7%BD%AE%E5%92%8C%E5%8F%96%E6%B6%88%E9%AB%98%E4%BC%98%E5%85%88%E7%BA%A7\"><\/span>\u8bbe\u7f6e\u548c\u53d6\u6d88\u9ad8\u4f18\u5148\u7ea7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u53ef\u91cd\u590d\u8bbe\u7f6e\u6216\u53d6\u6d88\uff0c\u4e0d\u4f1a\u62a5\u9519\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;gbase@vm151 config]$ gcadmin recover highpriority vc_a ddlevent\r\ngcadmin recover highpriority vc_a ddlevent success\n\r\n&#91;gbase@vm151 config]$ gcadmin recover show highpriority\r\ngcadmin recover highpriority vc_a ddlevent\r\n\n&#91;gbase@vm151 config]$ gcadmin recover cancel highpriority\r\ngcadmin recover cancel highpriority success\r\n&#91;gbase@vm151 config]$ gcadmin recover cancel highpriority\r\ngcadmin recover cancel highpriority success\r\n&#91;gbase@vm151 config]$ gcadmin recover show highpriority\r\nnone\r\n&#91;gbase@vm151 config]$\r\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"gc_recoverlog%E6%97%A5%E5%BF%97\"><\/span>gc_recover.log\u65e5\u5fd7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u4ece\u65e5\u5fd7\u4e2d\uff0c\u53ef\u4ee5\u770b\u5230pause\u548ccontinue\u548c\u4f18\u5148\u7ea7\u4fe1\u606f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>2026-02-11 16:05:57.934 &#91;INFO ] &lt;RECOVER-INFO>: refresh gcrecover status is pause\r\n2026-02-11 16:05:59.489 &#91;INFO ] &lt;RECOVER-INFO>: refresh gcrecover status is pause\r\n2026-02-11 16:06:50.154 &#91;INFO ] &lt;RECOVER-INFO>: refresh gcrecover status is continue\r\n2026-02-11 16:06:52.180 &#91;INFO ] &lt;RECOVER-INFO>: refresh gcrecover status is continue\r\n2026-02-11 16:08:21.377 &#91;INFO ] &lt;RECOVER-INFO>: get gcrecover high pri rule is vc_a&amp;ddlevent\r\n2026-02-11 16:08:21.378 &#91;INFO ] &lt;RECOVER-INFO>: get gcrecover event rule vcname-vc_a eventype-ddlevent\r\n2026-02-11 16:08:21.378 &#91;INFO ] &lt;RECOVER-INFO>: recover change version 6\r\n2026-02-11 16:08:48.273 &#91;INFO ] &lt;RECOVER-INFO>: get gcrecover high pri rule is none\r\n2026-02-11 16:08:48.273 &#91;INFO ] &lt;RECOVER-INFO>: reset recover config none\r\n2026-02-11 16:08:48.273 &#91;INFO ] &lt;RECOVER-INFO>: recover change version 7\r\n2026-02-11 16:08:55.988 &#91;INFO ] &lt;RECOVER-INFO>: get gcrecover high pri rule is none\r\n2026-02-11 16:08:55.988 &#91;INFO ] &lt;RECOVER-INFO>: reset recover config none\r\n2026-02-11 16:08:55.988 &#91;INFO ] &lt;RECOVER-INFO>: recover change version 8\r\n<\/code><\/pre>\n\n\n\n<p>\u5f53\u6682\u505c\u65f6\uff0c\u5373\u4f7f\u6709\u65b0\u7684event,gcrecover\u4e5f\u4e0d\u4f1a\u5de5\u4f5c\uff0c\u76f4\u5230continue\u72b6\u6001\u3002<\/p>\n\n\n\n<p>\u91cd\u542fgcrecover\u670d\u52a1\uff0c\u4e0d\u4f1a\u5f71\u54cd\u72b6\u6001\u3002\u8be5\u6807\u5fd7\u5e94\u8bb0\u5f55\u5728gcware\u4e2d\u3002<\/p>\n\n\n\n<p>\u5982\u4e0b\u662f\u91cd\u542fgcrecover\u540e\uff0c\u7acb\u5373\u53d1\u73b0\u5f53\u524d\u72b6\u6001\u4e3apause\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>2026-02-11 11:21:33.879 &#91;INFO ] &lt;RECOVER-INFO>: Recover Thread(0x7fd1b67ee700) is been built success\r\n2026-02-11 11:21:33.879 &#91;INFO ] &lt;RECOVER-INFO>: Recover Thread(0x7fd1b5fed700) is been built success\r\n2026-02-11 11:21:33.879 &#91;INFO ] &lt;RECOVER-INFO>: Recover Thread(0x7fd1b57ec700) is been built success\r\n2026-02-11 11:21:33.879 &#91;INFO ] &lt;RECOVER-INFO>: Recover Thread(0x7fd1b4feb700) is been built success\r\n2026-02-11 11:21:33.880 &#91;INFO ] &lt;RECOVER-INFO>: Recover Thread(0x7fd1b47ea700) is been built success\r\n2026-02-11 11:22:08.783 &#91;INFO ] &lt;RECOVER-INFO>: <span class=\"has-inline-color has-luminous-vivid-orange-color\"><strong>refresh gcrecover status is pause<\/strong><\/span>\r\n2026-02-11 11:22:17.851 &#91;INFO ] &lt;RECOVER-INFO>: refresh gcrecover status is continue\r\n2026-02-11 11:22:47.391 &#91;INFO ] &lt;RECOVER-INFO>: get gcrecover high pri rule is none\r\n2026-02-11 11:22:47.392 &#91;INFO ] &lt;RECOVER-INFO>: reset recover config none\r\n2026-02-11 11:22:47.392 &#91;INFO ] &lt;RECOVER-INFO>: recover change version 2\r\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%80%BB%E7%BB%93\"><\/span>\u603b\u7ed3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u8be5\u529f\u80fd\u4e3b\u8981\u7528\u4e8e\u5728\u591avc\u60c5\u51b5\u4e0b\uff0c\u8bbe\u7f6e\u67d0\u4e2avc\u7684event\u4f18\u5148\u6062\u590d\u3002<\/p>\n\n\n\n<p>\u6682\u505c\u548c\u7ee7\u7eed\u662f\u9644\u5c5e\u529f\u80fd\uff0c\u7279\u6b8a\u60c5\u51b5\u624d\u4f1a\u4f7f\u7528\u3002\u6bd4\u5982\u540c\u6b65\u5360\u7528\u8d44\u6e90\u5f88\u591a\u5f71\u54cd\u4e1a\u52a1\uff0c\u53ef\u80fd\u4f1a\u5728\u4e1a\u52a1\u7e41\u5fd9\u671f\uff0c\u6682\u505c\u6062\u590d\uff0c\u7b49\u4e1a\u52a1\u7a7a\u95f2\u671f\u518d\u7ee7\u7eed\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>gcrecover\u662fGBase 8a\u96c6\u7fa4\u5185\u7f6e\u7684\uff0c\u7528\u4e8e\u6062\u590d\u96c6\u7fa4event\u7684\u670d\u52a1\uff0c\u90e8\u7f72\u5728\u6bcf\u4e2a\u7ba1\u7406\uff08gcluster\uff09\u8282\u70b9\u4e0a\u3002\u901a\u8fc7gcadmin recover\u547d\u4ee4\uff0c\u5b9e\u73b0\u6682\u505c\uff0c\u6062\u590d\u540c\u6b65\u5de5\u4f5c\uff0c\u8bbe\u7f6e\u6216\u53d6\u6d88\u67d0\u4e2aVC\u4f18\u5148\u6062\u590d\u7b49\u529f\u80fd\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-13203","post","type-post","status-publish","format-standard","hentry","category-gbase8a"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/13203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/comments?post=13203"}],"version-history":[{"count":3,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/13203\/revisions"}],"predecessor-version":[{"id":13206,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/13203\/revisions\/13206"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=13203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=13203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=13203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}