{"id":101520,"date":"2026-09-07T00:08:58","date_gmt":"2026-09-06T16:08:58","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/101520.html"},"modified":"2026-09-07T00:08:58","modified_gmt":"2026-09-06T16:08:58","slug":"canal-gtid-%e4%bd%8d%e7%82%b9%e5%a4%b1%e6%95%88%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/101520.html","title":{"rendered":"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<h2>Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848<\/h2>\n<p>\u6587\u6863\u80cc\u666f:\u751f\u4ea7 Canal \u5b9e\u4f8b\u56e0\u4e3b\u5e93 binlog \u88ab\u6e05\u7406(purge),\u5bfc\u81f4\u6301\u4e45\u5316\u4f4d\u70b9\u5931\u6548\u3001\u65e0\u6cd5\u7ee7\u7eed\u8ba2\u9605,\u6301\u7eed\u62a5\u9519 errno 1236\u3002\u672c\u6587\u5b8c\u6574\u8bb0\u5f55\u8be5\u95ee\u9898\u7684\u73b0\u8c61\u3001\u6839\u56e0\u3001\u6392\u67e5\u601d\u8def\u4e0e\u89e3\u51b3\u65b9\u6848\u3002\u672c\u6b21\u751f\u4ea7\u6545\u969c\u5df2\u901a\u8fc7\u300c\u5220\u5b9e\u4f8b &#043; \u91cd\u5efa\u300d\u65b9\u6848\u6210\u529f\u6062\u590d\u3002<\/p>\n<p>\u8131\u654f\u8bf4\u660e:\u672c\u6587\u4e3a\u8131\u654f\u7248\u672c,\u6d89\u53ca\u73af\u5883\u5730\u5740\u3001\u57df\u540d\u3001IP\u3001\u8d26\u53f7\u5bc6\u7801\u3001\u5b9e\u4f8b\u540d\u3001binlog \u6587\u4ef6\u540d\u3001\u4f4d\u70b9\u3001GTID \u4e32\u7b49\u654f\u611f\u4fe1\u606f\u5747\u5df2\u66ff\u6362\u4e3a\u5360\u4f4d\u7b26(&lt;&#8230;&gt;),\u7ed3\u6784\u4e0e\u64cd\u4f5c\u547d\u4ee4\u5b8c\u6574\u4fdd\u7559,\u53ef\u76f4\u63a5\u5957\u7528\u5230\u5176\u4ed6\u73af\u5883\u3002<\/p>\n<hr \/>\n<h3>1. \u95ee\u9898\u73b0\u8c61<\/h3>\n<p>Canal \u5b9e\u4f8b\u542f\u52a8\u540e\u53cd\u590d\u91cd\u8bd5,destination \u4e00\u76f4\u5904\u4e8e\u5f02\u5e38\u72b6\u6001,\u65e0\u6cd5\u6b63\u5e38\u6d88\u8d39 binlog\u3002\u5b9e\u4f8b\u65e5\u5fd7(logs\/&lt;\u5b9e\u4f8b\u540d&gt;\/&lt;\u5b9e\u4f8b\u540d&gt;.log)\u6301\u7eed\u8f93\u51fa\u4ee5\u4e0b\u4e24\u7c7b\u9519\u8bef:<\/p>\n<h4>\u9519\u8bef\u4e00:GTID \u6a21\u5f0f(\u5f00\u542f GTID \u65f6)<\/h4>\n<p>ERROR c.a.o.canal.parse.inbound.mysql.dbsync.DirectLogFetcher &#8211; I\/O error while reading from client socket<br \/>\njava.io.IOException: Received error packet: errno &#061; 1236, sqlstate &#061; HY000<br \/>\nerrmsg &#061; The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION &#061; 1,<br \/>\nbut the master has purged binary logs containing GTIDs that the slave requires.<\/p>\n<p>\u5173\u952e\u65e5\u5fd7(\u542f\u52a8\u65f6\u627e\u5230\u7684\u65e7\u4f4d\u70b9):<\/p>\n<p>prepare to find start position just last position<br \/>\n{&#034;postion&#034;:{&#034;gtid&#034;:&#034;&lt;GTID\u4e32&gt;&#034;,<br \/>\n&#034;journalName&#034;:&#034;&lt;binlog\u6587\u4ef6\u540d&gt;&#034;,&#034;position&#034;:&lt;position&gt;,&#034;timestamp&#034;:&lt;\u65f6\u95f4\u6233&gt;}}<\/p>\n<h4>\u9519\u8bef\u4e8c:\u5173\u95ed GTID \u540e(file&#043;position \u6a21\u5f0f)<\/h4>\n<p>java.io.IOException: Received error packet: errno &#061; 1236, sqlstate &#061; HY000<br \/>\nerrmsg &#061; Could not find first log file name in binary log index file<\/p>\n<p>\u5373 Canal \u62ff\u7740\u65e7\u7684 binlog \u6587\u4ef6\u540d(&lt;binlog\u6587\u4ef6\u540d&gt;)&#043; position \u53bb dump,\u4f46\u4e3b\u5e93\u7684 binlog \u7d22\u5f15\u6587\u4ef6\u91cc\u5df2\u7ecf\u6ca1\u6709\u8fd9\u4e2a\u6587\u4ef6\u4e86\u3002<\/p>\n<hr \/>\n<h3>2. \u6839\u56e0\u5206\u6790<\/h3>\n<table>\n<tr>\u5c42\u9762\u539f\u56e0<\/tr>\n<tbody>\n<tr>\n<td>\u76f4\u63a5\u539f\u56e0<\/td>\n<td>Canal \u6301\u4e45\u5316\u7684\u6d88\u8d39\u4f4d\u70b9(cursor)\u6307\u5411\u7684 binlog \u5df2\u88ab\u4e3b\u5e93\u6e05\u7406(purge),\u65e0\u6cd5\u7ee7\u7eed dump<\/td>\n<\/tr>\n<tr>\n<td>\u6df1\u5c42\u539f\u56e0<\/td>\n<td>\u6d88\u8d39\u7aef\u957f\u671f\u505c\u6b62 \/ Canal \u6545\u969c\u505c\u673a \/ \u6d88\u8d39\u5ef6\u8fdf\u8fc7\u5927,\u671f\u95f4\u4e3b\u5e93\u6309\u4fdd\u7559\u7b56\u7565\u6e05\u7406\u4e86 binlog;Canal \u6062\u590d\u540e\u62ff\u7740\u65e7\u4f4d\u70b9\u53bb\u62c9,\u4e3b\u5e93\u6821\u9a8c\u5931\u8d25<\/td>\n<\/tr>\n<tr>\n<td>GTID \u6a21\u5f0f\u4e0b\u7684\u8868\u73b0<\/td>\n<td>MySQL \u5f00\u542f MASTER_AUTO_POSITION&#061;1 \u540e,\u4f1a\u6821\u9a8c\u4ece\u673a(\u5373 Canal)\u63d0\u4ea4\u7684 GTID \u96c6\u5408,\u5982\u679c\u96c6\u5408\u4e2d\u5305\u542b\u5df2\u88ab purge \u7684\u4e8b\u52a1,\u76f4\u63a5\u62d2\u7edd\u5e76\u8fd4\u56de 1236<\/td>\n<\/tr>\n<tr>\n<td>\u975e GTID \u6a21\u5f0f\u4e0b\u7684\u8868\u73b0<\/td>\n<td>\u76f4\u63a5\u7528 journalName&#043;position \u5b9a\u4f4d,binlog \u6587\u4ef6\u4e0d\u5b58\u5728\u65f6\u8fd4\u56de 1236\u300cCould not find first log file name\u300d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6838\u5fc3\u7ed3\u8bba:\u8be5\u95ee\u9898\u4e0d\u662f\u8fde\u63a5\u95ee\u9898\u3001\u4e5f\u4e0d\u662f\u914d\u7f6e\u8bed\u6cd5\u95ee\u9898,\u800c\u662f\u4f4d\u70b9\u8fc7\u671f\u3002binlog \u5df2\u88ab\u6e05\u7406\u7684\u5386\u53f2\u589e\u91cf\u65e0\u6cd5\u627e\u56de,\u53ea\u80fd\u8ba9 Canal \u4e22\u5f03\u65e7\u4f4d\u70b9\u3001\u4ece\u4e3b\u5e93\u5f53\u524d\u6700\u65b0\u4f4d\u70b9\u91cd\u65b0\u8ba2\u9605\u3002<\/p>\n<hr \/>\n<h3>3. \u6392\u67e5\u601d\u8def(\u5982\u4f55\u5b9a\u4f4d\u662f\u4e0d\u662f\u4f4d\u70b9\u5931\u6548)<\/h3>\n<h4>3.1 \u786e\u8ba4 MySQL \u8fde\u63a5\u6b63\u5e38<\/h4>\n<p>\u62a5\u9519\u51fa\u73b0\u524d\u5148\u6392\u9664\u8fde\u63a5\u95ee\u9898:<\/p>\n<p><span class=\"token comment\"># \u5728 Canal Server \u673a\u5668\u4e0a\u6d4b\u8bd5\u5230\u4e3b\u5e93\u7684\u8fde\u901a\u6027<\/span><br \/>\ntelnet <span class=\"token operator\">&lt;<\/span>\u6e90MySQL\u4e3b\u673a<span class=\"token operator\">&gt;<\/span> <span class=\"token number\">3306<\/span><\/p>\n<p>\u6216\u786e\u8ba4\u5b9e\u4f8b\u914d\u7f6e\u4e2d canal.instance.master.address \u6b63\u786e\u3002\u82e5\u8fde\u63a5\u6b63\u5e38\u3001\u62a5\u9519\u96c6\u4e2d\u5728 dump \u9636\u6bb5(errno 1236),\u5373\u4e3a\u4f4d\u70b9\u95ee\u9898\u3002<\/p>\n<h4>3.2 \u5224\u65ad GTID \u4e0e binlog \u662f\u5426\u88ab\u6e05\u7406<\/h4>\n<p>\u5728\u4e3b\u5e93\u6267\u884c:<\/p>\n<p><span class=\"token comment\">&#8212; \u5f53\u524d binlog \u6587\u4ef6\u5217\u8868<\/span><br \/>\n<span class=\"token keyword\">SHOW<\/span> <span class=\"token keyword\">BINARY<\/span> LOGS<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token comment\">&#8212; \u6216 MySQL 8.0&#043;<\/span><br \/>\n<span class=\"token keyword\">SHOW<\/span> MASTER <span class=\"token keyword\">STATUS<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212; binlog \u4fdd\u7559\u7b56\u7565<\/span><br \/>\n<span class=\"token keyword\">SHOW<\/span> VARIABLES <span class=\"token operator\">LIKE<\/span> <span class=\"token string\">&#039;binlog_expire_logs_seconds&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">SHOW<\/span> VARIABLES <span class=\"token operator\">LIKE<\/span> <span class=\"token string\">&#039;expire_logs_days&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u82e5\u9519\u8bef\u65e5\u5fd7\u4e2d\u7684 journalName(\u5982 &lt;binlog\u6587\u4ef6\u540d&gt;)\u5df2\u4e0d\u5728 SHOW BINARY LOGS \u5217\u8868\u4e2d,\u786e\u8ba4 binlog \u5df2\u88ab\u6e05\u7406,\u5373\u4f4d\u70b9\u5931\u6548\u3002<\/p>\n<h4>3.3 \u5b9a\u4f4d Canal \u7684\u4f4d\u70b9\u5b58\u54ea(\u91cd\u8981,\u51b3\u5b9a\u6e05\u6cd5)<\/h4>\n<p>Canal \u7684\u4f4d\u70b9(cursor)\u6301\u4e45\u5316\u4f4d\u7f6e\u53d6\u51b3\u4e8e\u90e8\u7f72\u6a21\u5f0f:<\/p>\n<table>\n<tr>\u90e8\u7f72\u6a21\u5f0f\u4f4d\u70b9\u5b58\u50a8\u4f4d\u7f6e<\/tr>\n<tbody>\n<tr>\n<td>\u666e\u901a\u6a21\u5f0f(conf\/ \u672c\u5730\u5b9e\u4f8b)<\/td>\n<td>\u672c\u5730\u6587\u4ef6 conf\/&lt;\u5b9e\u4f8b\u540d&gt;\/meta.dat<\/td>\n<\/tr>\n<tr>\n<td>admin manager \u6a21\u5f0f(\u6709 conf\/spring\/\u3001canal_local.properties)<\/td>\n<td>\u72ec\u7acb\u6301\u4e45\u5316\u5728 admin \u4fa7(Web \u64cd\u4f5c\u6216 admin \u6570\u636e\u5e93)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>admin manager \u6a21\u5f0f\u7684\u5224\u5b9a:<\/p>\n<p><span class=\"token function\">cat<\/span> \/opt\/canal\/server\/conf\/canal_local.properties<br \/>\n<span class=\"token comment\"># \u51fa\u73b0 canal.admin.manager &#061; &lt;admin\u5730\u5740&gt;:8089 \u5373\u4e3a admin \u6a21\u5f0f<\/span><\/p>\n<p>\u672c\u5730 meta.dat \u6392\u67e5(admin \u6a21\u5f0f\u4e0b\u672c\u5730 conf\/ \u53ea\u6709 example \u5b9e\u4f8b,\u5176\u5b83\u5b9e\u4f8b\u65e0\u672c\u5730 meta.dat):<\/p>\n<p><span class=\"token function\">find<\/span> \/opt\/canal\/server <span class=\"token parameter variable\">-name<\/span> <span class=\"token string\">&#034;meta.dat&#034;<\/span><\/p>\n<h4>3.4 \u67e5\u770b\u5b9e\u4f8b\u5f53\u524d\u914d\u7f6e\u5185\u5bb9<\/h4>\n<ul>\n<li>admin \u6a21\u5f0f:\u767b\u5f55 admin Web(http:\/\/&lt;canal-admin\u57df\u540d&gt;:8089,\u9ed8\u8ba4\u8d26\u53f7 admin\/&lt;\u9ed8\u8ba4\u5bc6\u7801&gt;)\u2192\u300c\u5b9e\u4f8b\u7ba1\u7406\u300d\u2192\u300c\u4fee\u6539\u300d\u67e5\u770b\u914d\u7f6e\u5185\u5bb9\u3002<\/li>\n<li>\u91cd\u70b9\u68c0\u67e5:\n<ul>\n<li>canal.instance.master.journal.name \/ master.position \/ master.gtid \/ master.timestamp \u662f\u5426\u5e26\u65e7\u503c<\/li>\n<li>canal.instance.gtidon \u662f\u5426\u4e3a false<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>4. \u89e3\u51b3\u65b9\u6848<\/h3>\n<h4>\u65b9\u6848\u4e00:admin Web \u4fee\u6539\u914d\u7f6e\u6e05\u7a7a\u4f4d\u70b9(\u4f18\u5148\u5c1d\u8bd5)<\/h4>\n<p>\u9002\u7528\u4e8e admin manager \u6a21\u5f0f\u30021.1.5 \u7684 Web \u64cd\u4f5c\u83dc\u5355\u53ea\u6709\u300c\u4fee\u6539 \/ \u5220\u9664 \/ \u542f\u52a8 \/ \u505c\u6b62 \/ \u65e5\u5fd7\u300d,\u6ca1\u6709\u300c\u91cd\u7f6e\u4f4d\u70b9\u300d\u6309\u94ae,\u53ea\u80fd\u624b\u52a8\u6e05\u914d\u7f6e\u3002<\/p>\n<li>\u767b\u5f55 admin Web \u2192 \u300c\u5b9e\u4f8b\u7ba1\u7406\u300d\u2192 \u627e\u5230\u6545\u969c\u5b9e\u4f8b \u2192 \u300c\u4fee\u6539\u300d\u3002<\/li>\n<li>\u5c06\u4ee5\u4e0b\u914d\u7f6e\u9879\u7684\u503c\u5168\u90e8\u6e05\u7a7a(\u7b49\u53f7\u540e\u7559\u7a7a),\u5e76\u786e\u8ba4 gtidon \u5173\u95ed:<\/li>\n<p>canal.instance.gtidon &#061; false<br \/>\ncanal.instance.master.gtid &#061;<br \/>\ncanal.instance.master.timestamp &#061;<br \/>\ncanal.instance.master.journal.name &#061;<br \/>\ncanal.instance.master.position &#061;<\/p>\n<li>\u300c\u4fdd\u5b58\u300d\u2192 \u5b9e\u4f8b\u5217\u8868\u300c\u505c\u6b62\u300d\u2192 \u7b49 5 \u79d2 \u2192 \u300c\u542f\u52a8\u300d\u3002<\/li>\n<li>\u67e5\u770b\u5b9e\u4f8b\u65e5\u5fd7\u786e\u8ba4\u6062\u590d\u3002<\/li>\n<p>\u6ce8\u610f\u4e8b\u9879:\u82e5\u914d\u7f6e\u5df2\u6309\u4e0a\u8ff0\u6e05\u7a7a,\u4f46\u5b9e\u4f8b\u65e5\u5fd7\u4ecd\u663e\u793a\u65e7\u4f4d\u70b9(prepare to find start position just last position &#043; \u65e7 journalName\/gtid),\u8bf4\u660e cursor \u72ec\u7acb\u6301\u4e45\u5316\u3001\u4e0d\u968f\u914d\u7f6e\u4fee\u6539\u6e05\u9664,\u6b64\u65b9\u6848\u65e0\u6cd5\u89e3\u51b3,\u8bf7\u76f4\u63a5\u91c7\u7528\u65b9\u6848\u4e8c\u6216\u65b9\u6848\u4e09\u3002<\/p>\n<h4>\u65b9\u6848\u4e8c:\u5220\u9664\u5b9e\u4f8b &#043; \u91cd\u5efa(\u672c\u6b21\u5b9e\u9645\u91c7\u7528,\u5df2\u9a8c\u8bc1\u6210\u529f)<\/h4>\n<p>\u4f4d\u70b9 cursor \u7ed1\u5b9a\u5b9e\u4f8b,\u5220\u9664\u5b9e\u4f8b\u53ef\u8fde\u5e26\u6e05\u9664;\u524d\u63d0\u662f\u5df2\u5907\u4efd\u914d\u7f6e\u5185\u5bb9\u3002\u672c\u6b21\u751f\u4ea7\u6545\u969c\u5373\u901a\u8fc7\u8be5\u65b9\u6848\u6210\u529f\u6062\u590d\u3002<\/p>\n<li>\u300c\u5b9e\u4f8b\u7ba1\u7406\u300d\u2192 \u6545\u969c\u5b9e\u4f8b \u2192 \u300c\u64cd\u4f5c\u300d\u2192\u300c\u5220\u9664\u300d\u3002<\/li>\n<li>\u300c\u65b0\u5efa Instance\u300d:\u540d\u79f0\u3001\u6240\u5c5e\u96c6\u7fa4\u3001\u6240\u5c5e\u4e3b\u673a\u3001\u914d\u7f6e\u5185\u5bb9\u4e0e\u539f\u6765\u4e00\u81f4(\u786e\u4fdd\u7b2c 4.1 \u8282\u4e2d 5 \u4e2a\u4f4d\u70b9\u914d\u7f6e\u9879\u4e3a\u7a7a)\u3002<\/li>\n<li>\u4fdd\u5b58 \u2192 \u300c\u542f\u52a8\u300d\u2192 \u67e5\u770b\u65e5\u5fd7\u3002<\/li>\n<h4>\u65b9\u6848\u4e09:\u76f4\u63a5\u6e05 admin \u6570\u636e\u5e93\u4e2d\u7684\u6301\u4e45\u5316 cursor(Web \u65e0\u6cd5\u89e3\u51b3\u65f6)<\/h4>\n<p>\u9002\u7528\u573a\u666f:\u914d\u7f6e\u5df2\u6e05\u7a7a,\u4f46\u65e5\u5fd7\u4ecd\u663e\u793a\u65e7\u4f4d\u70b9(\u8bf4\u660e cursor \u72ec\u7acb\u6301\u4e45\u5316,Web \u6539\u4e0d\u5230)\u3002<\/p>\n<li>\u5728\u4efb\u610f\u6709 mysql \u5ba2\u6237\u7aef\u7684\u673a\u5668\u8fde admin \u5e93:<\/li>\n<p>mysql <span class=\"token parameter variable\">-h<\/span> <span class=\"token operator\">&lt;<\/span>admin\u6570\u636e\u5e93\u4e3b\u673a<span class=\"token operator\">&gt;<\/span> <span class=\"token parameter variable\">-P<\/span> <span class=\"token number\">3306<\/span> <span class=\"token parameter variable\">-u<\/span> <span class=\"token operator\">&lt;<\/span>\u8d26\u53f7<span class=\"token operator\">&gt;<\/span> <span class=\"token parameter variable\">-p<\/span> <span class=\"token operator\">&lt;<\/span>\u5e93\u540d<span class=\"token operator\">&gt;<\/span><\/p>\n<li>\u5b9a\u4f4d cursor \u6240\u5728\u8868(\u5168\u5e93\u641c\u65e7 GTID \u6216\u65e7 binlog \u6587\u4ef6\u540d):<\/li>\n<p><span class=\"token keyword\">SHOW<\/span> <span class=\"token keyword\">TABLES<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">SELECT<\/span> <span class=\"token operator\">*<\/span> <span class=\"token keyword\">FROM<\/span> <span class=\"token operator\">&lt;<\/span>\u8868\u540d<span class=\"token operator\">&gt;<\/span> <span class=\"token keyword\">WHERE<\/span> <span class=\"token operator\">&lt;<\/span>\u5b57\u6bb5<span class=\"token operator\">&gt;<\/span> <span class=\"token operator\">LIKE<\/span> <span class=\"token string\">&#039;%&lt;\u65e7gtid\u524d20\u4f4d&gt;%&#039;<\/span>\\\\G<br \/>\n<span class=\"token keyword\">SELECT<\/span> <span class=\"token operator\">*<\/span> <span class=\"token keyword\">FROM<\/span> <span class=\"token operator\">&lt;<\/span>\u8868\u540d<span class=\"token operator\">&gt;<\/span> <span class=\"token keyword\">WHERE<\/span> <span class=\"token operator\">&lt;<\/span>\u5b57\u6bb5<span class=\"token operator\">&gt;<\/span> <span class=\"token operator\">LIKE<\/span> <span class=\"token string\">&#039;%&lt;\u65e7binlog\u6587\u4ef6\u540d&gt;%&#039;<\/span>\\\\G<\/p>\n<li>\u5907\u4efd\u540e\u6e05\u7a7a:<\/li>\n<p><span class=\"token keyword\">UPDATE<\/span> <span class=\"token operator\">&lt;<\/span>\u8868\u540d<span class=\"token operator\">&gt;<\/span> <span class=\"token keyword\">SET<\/span> <span class=\"token operator\">&lt;<\/span>\u5b57\u6bb5<span class=\"token operator\">&gt;<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">REPLACE<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&lt;<\/span>\u5b57\u6bb5<span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;&lt;\u65e7binlog\u6587\u4ef6\u540d&gt;&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> modified_time <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">NOW<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">WHERE<\/span> name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;&lt;\u5b9e\u4f8b\u540d&gt;&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token comment\">&#8212; \u65e7 position \/ gtid \u503c\u540c\u7406<\/span><\/p>\n<li>\u91cd\u542f\u5b9e\u4f8b\u9a8c\u8bc1\u3002<\/li>\n<hr \/>\n<h3>5. \u5173\u952e\u539f\u7406:\u4e3a\u4ec0\u4e48\u5fc5\u987b\u300c\u540c\u65f6\u300d\u6e05 timestamp \u548c cursor<\/h3>\n<p>Canal \u542f\u52a8\u65f6\u627e\u8d77\u59cb\u4f4d\u70b9\u7684\u4f18\u5148\u7ea7:\u6301\u4e45\u5316 cursor(last position)\u4f18\u5148\u4e8e\u914d\u7f6e\u4e2d\u7684\u4f4d\u70b9\u9879\u3002<\/p>\n<table>\n<tr>\u6e05\u4e86\u4ec0\u4e48Canal \u542f\u52a8\u7528\u7684\u8d77\u70b9\u7ed3\u679c<\/tr>\n<tbody>\n<tr>\n<td>\u90fd\u4e0d\u6e05<\/td>\n<td>\u65e7 cursor(\u65e7 binlog \u6587\u4ef6 &#043; position &#043; \u65e7 GTID)<\/td>\n<td>\u62a5\u9519(\u521d\u59cb\u72b6\u6001)<\/td>\n<\/tr>\n<tr>\n<td>\u53ea\u6e05 cursor<\/td>\n<td>\u914d\u7f6e\u4e2d\u7684 master.timestamp(\u53ef\u80fd\u66f4\u65e9\u7684\u8fc7\u671f\u65f6\u95f4\u70b9)<\/td>\n<td>\u4ecd\u62a5\u9519(\u8be5\u65f6\u95f4\u70b9\u7684 binlog \u4e5f\u53ef\u80fd\u5df2 purge)<\/td>\n<\/tr>\n<tr>\n<td>\u53ea\u6e05 timestamp<\/td>\n<td>\u65e7 cursor<\/td>\n<td>\u4ecd\u62a5\u9519<\/td>\n<\/tr>\n<tr>\n<td>\u4e24\u8005\u90fd\u6e05<\/td>\n<td>\u4e3b\u5e93\u5f53\u524d\u6700\u65b0 binlog<\/td>\n<td>\u6b63\u5e38\u6062\u590d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u56e0\u6b64\u5373\u4f7f\u914d\u7f6e\u91cc journal.name\/position\/gtid \u5df2\u6e05\u7a7a,\u82e5 master.timestamp \u8fd8\u5e26\u7740\u65e7\u65f6\u95f4\u6233\u3001\u6216\u5b58\u5728\u72ec\u7acb\u6301\u4e45\u5316\u7684 cursor,\u95ee\u9898\u4e0d\u4f1a\u6d88\u5931\u3002<\/p>\n<p>\u4ee3\u4ef7\u8bf4\u660e:\u6e05\u4f4d\u70b9\u4f1a\u8df3\u8fc7\u88ab purge \u7684\u90a3\u6bb5\u5386\u53f2\u589e\u91cf(\u672c\u6765\u4e5f\u5df2\u65e0\u6cd5\u627e\u56de),\u4ece\u5f53\u524d\u65f6\u523b\u8d77\u6b63\u5e38\u8ba2\u9605\u65b0\u6570\u636e\u3002<\/p>\n<hr \/>\n<h3>6. \u9884\u9632\u4e0e\u6839\u6cbb\u5efa\u8bae<\/h3>\n<table>\n<tr>\u63aa\u65bd\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u589e\u5927 binlog \u4fdd\u7559\u65f6\u95f4<\/td>\n<td>\u4e3b\u5e93\u8bbe\u7f6e binlog_expire_logs_seconds &#061; 604800(7 \u5929)\u6216\u66f4\u957f,\u786e\u4fdd Canal \u505c\u673a\/\u5ef6\u8fdf\u671f\u95f4 binlog \u4e0d\u88ab\u6e05\u7406<\/td>\n<\/tr>\n<tr>\n<td>\u76d1\u63a7 Canal \u6d88\u8d39\u5ef6\u8fdf<\/td>\n<td>\u6d88\u8d39\u4f4d\u70b9\u6ede\u540e\u8d85\u8fc7\u9608\u503c(\u5982 binlog \u4fdd\u7559\u671f\u7684 50%)\u89e6\u53d1\u544a\u8b66<\/td>\n<\/tr>\n<tr>\n<td>\u6d88\u8d39\u7aef\u53ca\u65f6 ACK<\/td>\n<td>\u786e\u8ba4\u4e0b\u6e38\u6d88\u8d39\u6b63\u5e38,\u907f\u514d\u4f4d\u70b9\u5806\u79ef<\/td>\n<\/tr>\n<tr>\n<td>\u4e0d\u8981\u968f\u610f\u5220 meta.dat \/ \u6e05\u4f4d\u70b9<\/td>\n<td>\u6b63\u5e38\u60c5\u51b5\u6e05\u4f4d\u70b9 &#061; \u4e22\u589e\u91cf,\u4ec5\u5728\u672c\u95ee\u9898(\u5df2\u65e0\u6cd5\u627e\u56de)\u65f6\u4f7f\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u5347\u7ea7 Canal \u7248\u672c<\/td>\n<td>\u65b0\u7248 admin \u63d0\u4f9b\u66f4\u5b8c\u5584\u7684\u4f4d\u7f6e\u7ba1\u7406\u80fd\u529b,\u53ef\u8bc4\u4f30\u5347\u7ea7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>7. \u9644\u5f55<\/h3>\n<h4>7.1 \u672c\u6587\u5b9e\u4f8b\u73af\u5883(\u8131\u654f)<\/h4>\n<table>\n<tr>\u9879\u76ee\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>Canal \u7248\u672c<\/td>\n<td>1.1.5(deployer &#043; admin)<\/td>\n<\/tr>\n<tr>\n<td>\u90e8\u7f72\u6a21\u5f0f<\/td>\n<td>admin manager \u7ba1\u7406(canal.admin.manager &#061; &lt;admin\u5730\u5740&gt;:8089)<\/td>\n<\/tr>\n<tr>\n<td>admin Web<\/td>\n<td>http:\/\/&lt;canal-admin\u57df\u540d&gt;:8089(\u9ed8\u8ba4\u8d26\u53f7 admin\/&lt;\u9ed8\u8ba4\u5bc6\u7801&gt;)<\/td>\n<\/tr>\n<tr>\n<td>admin \u6570\u636e\u5e93<\/td>\n<td>&lt;admin\u6570\u636e\u5e93\u4e3b\u673a&gt;:3306,\u5e93\u540d &lt;\u5e93\u540d&gt;<\/td>\n<\/tr>\n<tr>\n<td>\u6545\u969c\u5b9e\u4f8b<\/td>\n<td>&lt;\u5b9e\u4f8b\u540d&gt;(\u6e90\u5e93 &lt;\u6e90MySQL\u4e3b\u673a&gt;:3306)<\/td>\n<\/tr>\n<tr>\n<td>\u6545\u969c\u4f4d\u70b9<\/td>\n<td>journalName&#061;&lt;binlog\u6587\u4ef6\u540d&gt;, position&#061;&lt;position&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>7.2 \u5173\u952e\u65e5\u5fd7\u5b9a\u4f4d\u8bcd\u901f\u67e5<\/h4>\n<p><span class=\"token comment\"># \u5b9e\u4f8b\u65e5\u5fd7<\/span><br \/>\n<span class=\"token function\">tail<\/span> <span class=\"token parameter variable\">-f<\/span> logs\/<span class=\"token operator\">&lt;<\/span>\u5b9e\u4f8b\u540d<span class=\"token operator\">&gt;<\/span>\/<span class=\"token operator\">&lt;<\/span>\u5b9e\u4f8b\u540d<span class=\"token operator\">&gt;<\/span>.log<\/p>\n<p><span class=\"token comment\"># \u91cd\u70b9\u5173\u952e\u5b57<\/span><br \/>\n<span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-E<\/span> <span class=\"token string\">&#034;errno &#061; 1236|purged binary logs|Could not find first log file|find start position&#034;<\/span> logs\/<span class=\"token operator\">&lt;<\/span>\u5b9e\u4f8b\u540d<span class=\"token operator\">&gt;<\/span>\/<span class=\"token operator\">&lt;<\/span>\u5b9e\u4f8b\u540d<span class=\"token operator\">&gt;<\/span>.log<\/p>\n<h4>7.3 \u76f8\u5173\u94fe\u63a5<\/h4>\n<ul>\n<li>Canal \u5b98\u65b9\u6587\u6863:https:\/\/github.com\/alibaba\/canal<\/li>\n<li>\u672c\u6587\u914d\u5957\u6587\u6863:[Canal \u5347\u7ea7 jar \u5305\u64cd\u4f5c\u6587\u6863-FastJSON\u793a\u4f8b.md]<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848\u6587\u6863\u80cc\u666f:\u751f\u4ea7 Canal \u5b9e\u4f8b\u56e0\u4e3b\u5e93 binlog \u88ab\u6e05\u7406(purge),\u5bfc\u81f4\u6301\u4e45\u5316\u4f4d\u70b9\u5931\u6548\u3001\u65e0\u6cd5\u7ee7\u7eed\u8ba2\u9605,\u6301\u7eed\u62a5\u9519 errno 1236\u3002\u672c\u6587\u5b8c\u6574\u8bb0\u5f55\u8be5\u95ee\u9898\u7684\u73b0\u8c61\u3001\u6839\u56e0\u3001\u6392\u67e5\u601d\u8def\u4e0e\u89e3\u51b3\u65b9\u6848\u3002\u672c\u6b21\u751f\u4ea7\u6545\u969c\u5df2\u901a\u8fc7\u300c\u5220\u5b9e\u4f8b  \u91cd\u5efa\u300d\u65b9\u6848\u6210\u529f\u6062\u590d\u3002<br \/>\n\u8131\u654f\u8bf4\u660e:\u672c\u6587\u4e3a\u8131\u654f\u7248\u672c,\u6d89\u53ca\u73af\u5883\u5730\u5740\u3001\u57df\u540d\u3001IP\u3001\u8d26\u53f7\u5bc6\u7801\u3001\u5b9e\u4f8b\u540d\u3001binlog \u6587\u4ef6\u540d\u3001\u4f4d\u70b9\u3001GTID \u4e32\u7b49\u654f\u611f\u4fe1\u606f\u5747\u5df2\u66ff\u6362\u4e3a\u5360\u4f4d\u7b26(),\u7ed3\u6784\u4e0e\u64cd\u4f5c\u547d\u4ee4\u5b8c\u6574\u4fdd\u7559,\u53ef\u76f4\u63a5\u5957\u7528\u5230\u5176\u4ed6\u73af\u5883<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9098,5991],"topic":[],"class_list":["post-101520","post","type-post","status-publish","format-standard","hentry","category-server","tag-it","tag-canal"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\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.wsisp.com\/helps\/101520.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848\u6587\u6863\u80cc\u666f:\u751f\u4ea7 Canal \u5b9e\u4f8b\u56e0\u4e3b\u5e93 binlog \u88ab\u6e05\u7406(purge),\u5bfc\u81f4\u6301\u4e45\u5316\u4f4d\u70b9\u5931\u6548\u3001\u65e0\u6cd5\u7ee7\u7eed\u8ba2\u9605,\u6301\u7eed\u62a5\u9519 errno 1236\u3002\u672c\u6587\u5b8c\u6574\u8bb0\u5f55\u8be5\u95ee\u9898\u7684\u73b0\u8c61\u3001\u6839\u56e0\u3001\u6392\u67e5\u601d\u8def\u4e0e\u89e3\u51b3\u65b9\u6848\u3002\u672c\u6b21\u751f\u4ea7\u6545\u969c\u5df2\u901a\u8fc7\u300c\u5220\u5b9e\u4f8b \u91cd\u5efa\u300d\u65b9\u6848\u6210\u529f\u6062\u590d\u3002 \u8131\u654f\u8bf4\u660e:\u672c\u6587\u4e3a\u8131\u654f\u7248\u672c,\u6d89\u53ca\u73af\u5883\u5730\u5740\u3001\u57df\u540d\u3001IP\u3001\u8d26\u53f7\u5bc6\u7801\u3001\u5b9e\u4f8b\u540d\u3001binlog \u6587\u4ef6\u540d\u3001\u4f4d\u70b9\u3001GTID \u4e32\u7b49\u654f\u611f\u4fe1\u606f\u5747\u5df2\u66ff\u6362\u4e3a\u5360\u4f4d\u7b26(),\u7ed3\u6784\u4e0e\u64cd\u4f5c\u547d\u4ee4\u5b8c\u6574\u4fdd\u7559,\u53ef\u76f4\u63a5\u5957\u7528\u5230\u5176\u4ed6\u73af\u5883\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/101520.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-06T16:08:58+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/101520.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/101520.html\",\"name\":\"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-06T16:08:58+00:00\",\"dateModified\":\"2026-09-06T16:08:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/101520.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/101520.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/101520.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/101520.html","og_locale":"zh_CN","og_type":"article","og_title":"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848\u6587\u6863\u80cc\u666f:\u751f\u4ea7 Canal \u5b9e\u4f8b\u56e0\u4e3b\u5e93 binlog \u88ab\u6e05\u7406(purge),\u5bfc\u81f4\u6301\u4e45\u5316\u4f4d\u70b9\u5931\u6548\u3001\u65e0\u6cd5\u7ee7\u7eed\u8ba2\u9605,\u6301\u7eed\u62a5\u9519 errno 1236\u3002\u672c\u6587\u5b8c\u6574\u8bb0\u5f55\u8be5\u95ee\u9898\u7684\u73b0\u8c61\u3001\u6839\u56e0\u3001\u6392\u67e5\u601d\u8def\u4e0e\u89e3\u51b3\u65b9\u6848\u3002\u672c\u6b21\u751f\u4ea7\u6545\u969c\u5df2\u901a\u8fc7\u300c\u5220\u5b9e\u4f8b \u91cd\u5efa\u300d\u65b9\u6848\u6210\u529f\u6062\u590d\u3002 \u8131\u654f\u8bf4\u660e:\u672c\u6587\u4e3a\u8131\u654f\u7248\u672c,\u6d89\u53ca\u73af\u5883\u5730\u5740\u3001\u57df\u540d\u3001IP\u3001\u8d26\u53f7\u5bc6\u7801\u3001\u5b9e\u4f8b\u540d\u3001binlog \u6587\u4ef6\u540d\u3001\u4f4d\u70b9\u3001GTID \u4e32\u7b49\u654f\u611f\u4fe1\u606f\u5747\u5df2\u66ff\u6362\u4e3a\u5360\u4f4d\u7b26(),\u7ed3\u6784\u4e0e\u64cd\u4f5c\u547d\u4ee4\u5b8c\u6574\u4fdd\u7559,\u53ef\u76f4\u63a5\u5957\u7528\u5230\u5176\u4ed6\u73af\u5883","og_url":"https:\/\/www.wsisp.com\/helps\/101520.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-06T16:08:58+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/101520.html","url":"https:\/\/www.wsisp.com\/helps\/101520.html","name":"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-06T16:08:58+00:00","dateModified":"2026-09-06T16:08:58+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/101520.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/101520.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/101520.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Canal GTID \u4f4d\u70b9\u5931\u6548\u89e3\u51b3\u65b9\u6848"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/101520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=101520"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/101520\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=101520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=101520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=101520"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=101520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}