{"id":1480,"date":"2020-06-05T01:31:11","date_gmt":"2020-06-04T17:31:11","guid":{"rendered":"http:\/\/39.97.231.10\/?p=1480"},"modified":"2020-06-05T01:31:11","modified_gmt":"2020-06-04T17:31:11","slug":"mysql-group-replication%ef%bc%88mgr%ef%bc%89%e4%bd%bf%e7%94%a8%e9%99%90%e5%88%b6","status":"publish","type":"post","link":"http:\/\/www.weijing.co\/?p=1480","title":{"rendered":"MySQL Group Replication(MGR)\u4f7f\u7528\u9650\u5236"},"content":{"rendered":"<div>\n<div>\nMySQL Group Replication\uff08MGR\uff09\u662fMySQL\u5b98\u65b9\u57285.7.17\u7248\u672c\u5f15\u8fdb\u7684\u4e00\u4e2a\u6570\u636e\u5e93\u9ad8\u53ef\u7528\u4e0e\u9ad8\u6269\u5c55\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4ee5\u63d2\u4ef6\u5f62\u5f0f\u63d0\u4f9b\u3002MGR\u57fa\u4e8e\u5206\u5e03\u5f0fpaxos\u534f\u8bae\uff0c\u5b9e\u73b0\u7ec4\u590d\u5236\uff0c\u4fdd\u8bc1\u6570\u636e\u4e00\u81f4\u6027\u3002\u5185\u7f6e\u6545\u969c\u68c0\u6d4b\u548c\u81ea\u52a8\u9009\u4e3b\u529f\u80fd\uff0c\u53ea\u8981\u4e0d\u662f\u96c6\u7fa4\u4e2d\u7684\u5927\u591a\u6570\u8282\u70b9\u90fd\u5b95\u673a\uff0c\u5c31\u53ef\u4ee5\u7ee7\u7eed\u6b63\u5e38\u5de5\u4f5c\u3002\u63d0\u4f9b\u5355\u4e3b\u6a21\u5f0f\u4e0e\u591a\u4e3b\u6a21\u5f0f\uff0c\u591a\u4e3b\u6a21\u5f0f\u652f\u6301\u591a\u70b9\u5199\u5165\u3002<br \/>\n\u76f8\u5bf9\u4e8e\u4f20\u7edf\u7684MySQL\uff0cMGR\u5e26\u6765\u7684\u6539\u8fdb\u8ba9\u4eba\u6fc0\u52a8\u4eba\u5fc3\uff0c\u4f46\u662f\u4f7f\u7528MGR\u4e5f\u6709\u4e00\u4e9b\u524d\u63d0\u6761\u4ef6\u4e0e\u6ce8\u610f\u4e8b\u9879\uff0c\u4e0b\u9762\u57fa\u4e8e MySQL 8.0.11 \u7248\u672c\u8fdb\u884c\u7b80\u5355\u8bf4\u660e\u3002<\/p>\n<h3>\u4e00\u3001MGR\u4f7f\u7528\u9650\u5236<\/h3>\n<ol>\n<li>\u4ec5\u652f\u6301innodb\u5b58\u50a8\u5f15\u64ce<br \/>\nMGR\u96c6\u7fa4\u4e2d\uff0c\u53ea\u652f\u6301innodb\u5b58\u50a8\u5f15\u64ce\uff0c\u80fd\u591f\u521b\u5efa\u975einnodb\u5f15\u64ce\u7684\u8868\uff0c\u4f46\u662f\u65e0\u6cd5\u5199\u5165\u6570\u636e\uff0c\u5411\u975einnodb\u8868\u5199\u6570\u636e\u76f4\u63a5\u62a5\u9519\u3002<\/li>\n<\/ol>\n<div>\n<pre>mysql&gt; create table tb_myisam(id int, name varchar(50), primary key(id)) engine=myisam;\nQuery OK, 0 rows affected (0.05 sec)\nmysql&gt; insert into tb_myisam select 1, \\'1\\';\nERROR 3098 (HY000): The table does not comply with the requirements by an external plugin.\n<\/pre>\n<\/div>\n<ol start=\\\"2\\\">\n<li>\u8868\u5fc5\u987b\u6709\u4e3b\u952e\uff0c\u6216\u8005\u975eNull\u7684\u552f\u4e00\u952e<br \/>\nMGR\u96c6\u7fa4\u4e2d\uff0c\u53ea\u652f\u6301innodb\u5f15\u64ce\u7684\u8868\uff0c\u5e76\u4e14\u8be5\u8868\u5fc5\u987b\u6709\u663e\u5f0f\u7684\u4e3b\u952e\uff0c\u6216\u8005\u975eNull\u7684\u552f\u4e00\u952e\uff0c\u5426\u5219\u5373\u4f7f\u80fd\u591f\u521b\u5efa\u8868\uff0c\u4e5f\u65e0\u6cd5\u5411\u8868\u4e2d\u5199\u5165\u6570\u636e\u3002<\/li>\n<\/ol>\n<div class=\\\"_2Uzcx_\\\">\n<pre class=\\\"line-numbers  language-csharp\\\"># \u521b\u5efa\u6ca1\u6709\u4e3b\u952e\u7684\u8868\uff0c\u5199\u5165\u6570\u636e\u5931\u8d25\nmysql&gt; create table tb_no_primary_key(name varchar(50));\nQuery OK, 0 rows affected (0.15 sec)\nmysql&gt; insert into tb_no_primary_key select \\'1\\';\nERROR 3098 (HY000): The table does not comply with the requirements by an external plugin.\n# \u521b\u5efaNull\u552f\u4e00\u7d22\u5f15\u7684\u8868\uff0c\u5199\u5165\u6570\u636e\u5931\u8d25\nmysql&gt; create table tb_null_unique_key(name varchar(50), unique key(name));\nQuery OK, 0 rows affected (0.09 sec)\nmysql&gt; insert into tb_null_unique_key select \\'1\\';\nERROR 3098 (HY000): The table does not comply with the requirements by an external plugin.\n# \u521b\u5efa\u975eNull\u552f\u4e00\u7d22\u5f15\u7684\u8868\uff0c\u5199\u5165\u6570\u636e\u6210\u529f\nmysql&gt; create table tb_no_null_unique_key(name varchar(50) not null, unique key(name));\nQuery OK, 0 rows affected (0.04 sec)\nmysql&gt; insert into tb_no_null_unique_key select \\'1\\';\nQuery OK, 1 row affected (0.06 sec)<code class=\\\"  language-csharp\\\">\nRecords<span class=\\\"token punctuation\\\">:<\/span> <span class=\\\"token number\\\">1<\/span>  Duplicates<span class=\\\"token punctuation\\\">:<\/span> <span class=\\\"token number\\\">0<\/span>  Warnings<span class=\\\"token punctuation\\\">:<\/span> <span class=\\\"token number\\\">0<\/span><\/code><\/pre>\n<\/div>\n<ol start=\\\"3\\\">\n<li>\u7f51\u7edc\u9650\u5236<br \/>\nMGR \u7ec4\u901a\u4fe1\u5f15\u64ce\u76ee\u524d\u4ec5\u652f\u6301IPv4\u7f51\u7edc\uff0c\u5e76\u4e14\u5bf9\u8282\u70b9\u95f4\u7684\u7f51\u7edc\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\uff0c\u4f4e\u5ef6\u8fdf\u3001\u9ad8\u5e26\u5bbd\u7684\u7f51\u7edc\u662f\u90e8\u7f72MGR\u96c6\u7fa4\u7684\u57fa\u7840\u3002<\/li>\n<li>MGR\u5ffd\u7565\u8868\u9501\u548c\u547d\u540d\u9501\uff0c\u5728MGR\u4e2dlock tables\u3001unlock tables\u3001get_lock\u3001release_lock\u7b49\u8fd9\u4e9b\u8868\u9501\u548c\u547d\u540d\u9501\u5c06\u88ab\u5ffd\u7565\u3002<\/li>\n<li>MGR\u591a\u4e3b\u6a21\u5f0f\u4e2d\uff0c\u9ed8\u8ba4\u4e0d\u652f\u6301 SERIALIZABLE \u9694\u79bb\u7ea7\u522b\u3002<\/li>\n<li>\u591a\u4e3b\u6a21\u5f0f\u4e0b\uff0c\u5bf9\u540c\u4e00\u4e2a\u5bf9\u8c61\u8fdb\u884c\u5e76\u53d1\u7684\u6709\u51b2\u7a81\u7684ddl\u548cdml\u64cd\u4f5c\u5bfc\u81f4\u8fd9\u79cd\u51b2\u7a81\u5728\u90e8\u5206\u6210\u5458\u8282\u70b9\u4e2d\u65e0\u6cd5\u68c0\u6d4b\u5230\uff0c\u6700\u7ec8\u53ef\u80fd\u5bfc\u81f4\u6570\u636e\u4e0d\u4e00\u81f4\u3002<\/li>\n<li>\u591a\u4e3b\u6a21\u5f0f\u4e0b\uff0c\u4e0d\u652f\u6301\u7ea7\u8054\u7ea6\u675f\u7684\u5916\u952e\uff0c\u53ef\u80fd\u9020\u6210\u6709\u51b2\u7a81\u7684\u64cd\u4f5c\u65e0\u6cd5\u68c0\u6d4b\u3002<\/li>\n<li>\u4e0d\u652f\u6301\u8d85\u5927\u4e8b\u52a1\u3002<\/li>\n<li>\u591a\u4e3b\u6a21\u5f0f\u4e0b\u53ef\u80fd\u5bfc\u81f4\u6b7b\u9501\uff0c\u6bd4\u5982select &#8230;for update\u5728\u4e0d\u540c\u8282\u70b9\u6267\u884c\uff0c\u7531\u4e8e\u591a\u8282\u70b9\u9501\u65e0\u6cd5\u5171\u4eab\uff0c\u5f88\u5bb9\u6613\u5bfc\u81f4\u6b7b\u9501\u3002<\/li>\n<li>\u4e0d\u652f\u6301\u590d\u5236\u8fc7\u6ee4\uff0c\u5982\u679c\u6709\u8282\u70b9\u8bbe\u7f6e\u4e86\u590d\u5236\u8fc7\u6ee4\uff0c\u5c06\u5f71\u54cd\u8282\u70b9\u95f4\u51b3\u8bae\u7684\u8fbe\u6210\u3002<\/li>\n<li>MGR\u6700\u591a\u652f\u63019\u4e2a\u8282\u70b9\uff0c\u5927\u4e8e9\u4e2a\u8282\u70b9\uff0c\u5c06\u62d2\u7edd\u65b0\u8282\u70b9\u7684\u52a0\u5165\u3002<\/li>\n<\/ol>\n<h3>\u4e8c\u3001\u8282\u70b9\u914d\u7f6e\u8981\u6c42<\/h3>\n<ul>\n<li>log_bin<\/li>\n<li>log_slave_updates<\/li>\n<li>binlog_format=ROW<\/li>\n<li>gtid_mode=ON<\/li>\n<li>master_info_repository=TABLE<\/li>\n<li>relay_log_info_repository=TABLE<\/li>\n<li>transaction_write_set_extraction=XXHASH64<\/li>\n<li>\u5e76\u884c\u590d\u5236\n<ul>\n<li>slave_parallel_type=LOGICAL_CLOCK<\/li>\n<li>slave_preserve_commit_order=1<\/li>\n<li>slave_parallel_workers=[N]<\/li>\n<\/ul>\n<\/li>\n<li>binlog_checksum=NONE<\/li>\n<li>transaction_isolation=READ-COMMITTED #\u5b98\u65b9\u63a8\u8350\u5728MGR\u4e2d\u9694\u79bb\u7ea7\u522b\u8bbe\u7f6e\u4e3aRC<\/li>\n<\/ul>\n<h3>\u4e09\u3001MGR\u51b2\u7a81\u68c0\u6d4b<\/h3>\n<p>MGR\u591a\u4e3b\u6a21\u5f0f\u4e0b\uff0c\u4e00\u4e2a\u4e8b\u52a1\u5728\u6267\u884c\u65f6\uff0c\u5e76\u4e0d\u4f1a\u505a\u524d\u7f6e\u7684\u68c0\u67e5\uff0c\u4f46\u662f\u5728\u63d0\u4ea4\u9636\u6bb5\uff0c\u4f1a\u548c\u5176\u4ed6\u8282\u70b9\u901a\u4fe1\u5bf9\u8be5\u4e8b\u52a1\u662f\u5426\u80fd\u591f\u63d0\u4ea4\u8fbe\u6210\u4e00\u4e2a\u51b3\u8bae\u3002\u5728\u591a\u4e2a\u8282\u70b9\u540c\u5bf9\u76f8\u540c\u8bb0\u5f55\u7684\u4fee\u6539\uff0c\u5728\u63d0\u4ea4\u65f6\u4f1a\u8fdb\u884c\u51b2\u7a81\u68c0\u6d4b\uff0c\u9996\u5148\u63d0\u4ea4\u7684\u4e8b\u52a1\u5c06\u83b7\u5f97\u4f18\u5148\u6743\u3002\u4f8b\u5982\u5bf9\u540c\u4e00\u6761\u8bb0\u5f55\u7684\u4fee\u6539\uff0ct1\u4e8b\u52a1\u5148\u4e8et2\u4e8b\u52a1\uff0c\u90a3\u4e48t1\u4e8b\u52a1\u5728\u51b2\u7a81\u68c0\u6d4b\u540e\u83b7\u5f97\u6267\u884c\u6743\uff0c\u987a\u5229\u63d0\u4ea4\uff0c\u800ct2\u4e8b\u52a1\u8fdb\u884c\u56de\u6eda\u3002\u663e\u7136\u8fd9\u79cd\u591a\u70b9\u5199\u5165\u6761\u4ef6\u4e0b\uff0c\u5bf9\u4e8e\u540c\u4e00\u6761\u8bb0\u5f55\u7684\u5e76\u53d1\u4fee\u6539\uff0c\u7531\u4e8e\u5927\u91cf\u7684\u56de\u6eda\uff0c\u5bfc\u81f4\u6027\u80fd\u5f88\u4f4e\uff0c\u56e0\u6b64MySQL\u5b98\u65b9\u5efa\u8bae\uff0c\u8fd9\u79cd\u5bf9\u4e8e\u540c\u4e00\u6761\u8bb0\u5f55\u7684\u4fee\u6539\uff0c\u5e94\u8be5\u653e\u5728\u540c\u4e00\u4e2a\u8282\u70b9\u6267\u884c\uff0c\u8fd9\u6837\u53ef\u4ee5\u5229\u7528\u8282\u70b9\u672c\u5730\u9501\u6765\u8fdb\u884c\u540c\u6b65\u7b49\u5f85\uff0c\u51cf\u5c11\u4e8b\u52a1\u56de\u6eda\uff0c\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n<h3>\u56db\u3001MGR\u65b0\u8282\u70b9\u52a0\u5165\u8fc7\u7a0b<\/h3>\n<p>MGR\u4e2d\uff0c\u65b0\u8282\u70b9\u7533\u8bf7\u52a0\u5165\u7ec4\uff0c\u4f1a\u5728\u7ec4\u4e2d\u751f\u6210\u4e00\u4e2aView_change\u4e8b\u4ef6\uff0c\u7ec4\u5185\u6240\u6709online\u8282\u70b9\u5c06\u8be5\u4e8b\u4ef6\u5199\u5165\u5230binlog\uff0c\u540c\u65f6\uff0c\u7533\u8bf7\u52a0\u5165\u7ec4\u7684\u65b0\u8282\u70b9\u4e5f\u4f1a\u8bb0\u5f55\u8fd9\u4e2aView_change\u4e8b\u4ef6\uff0c\u4e4b\u540e\uff0c\u8be5\u8282\u70b9\u4f1a\u8fdb\u5165\u4e0b\u9762\u4e24\u4e2a\u9636\u6bb5\u3002<\/p>\n<ul>\n<li>\u7b2c\u4e00\u9636\u6bb5\uff0c\u65b0\u8282\u70b9\u4f1a\u4ece\u7ec4\u5185online\u7684\u8282\u70b9\u4e2d\u9009\u62e9\u4e00\u4e2a\u4f5c\u4e3a\u8d21\u732e\u8005(donor)\uff0c\u901a\u8fc7\u6807\u51c6\u7684\u5f02\u6b65\u590d\u5236\u901a\u9053\uff0c\u62c9\u53d6\u8d21\u732e\u8005\u7684binlog\uff0c\u5e76\u5e94\u7528\u8fd9\u4e9bbinlog\u3002\u4e0e\u6b64\u540c\u65f6\uff0c\u65b0\u8282\u70b9\u4e5f\u4f1a\u83b7\u53d6\u5f53\u524d\u7ec4\u5185\u6b63\u5728\u4ea4\u6362\u7684\u4e8b\u52a1\u4fe1\u606f\uff0c\u5e76\u5c06\u5176\u7f13\u5b58\u5230\u961f\u5217\u4e2d\uff0c\u5f53binlog\u5e94\u7528\u5b8c\u6210\uff0c\u4e5f\u5c31\u662f\u5e94\u7528\u5230View_change\u4e8b\u4ef6\u5904\uff0c\u5f02\u6b65\u590d\u5236\u901a\u9053\u5173\u95ed\uff0c\u8fdb\u5165\u7b2c\u4e8c\u9636\u6bb5\u3002<\/li>\n<li>\u7b2c\u4e8c\u9636\u6bb5\uff0c\u65b0\u8282\u70b9\u5904\u7406\u7f13\u5b58\u5728\u961f\u5217\u4e2d\u7684\u7ec4\u5185\u4e8b\u52a1\u4fe1\u606f\uff0c\u5f53\u961f\u5217\u4e2d\u7684\u4e8b\u52a1\u4fe1\u606f\u5904\u7406\u5b8c\u6210\uff0c\u5373\u7f13\u5b58\u961f\u5217\u957f\u5ea6\u4e3a0\u65f6\uff0c\u65b0\u8282\u70b9\u5728\u7ec4\u5185\u72b6\u6001\u53d8\u4e3aonline\u3002<\/li>\n<\/ul>\n<p>\u5728\u7b2c\u4e00\u9636\u6bb5\uff0c\u9047\u5230\u4efb\u4f55\u9519\u8bef\uff0c\u65b0\u8282\u70b9\u4f1a\u81ea\u52a8\u4ece\u7ec4\u5185\u9009\u62e9\u53e6\u5916\u4e00\u4e2aonline\u8282\u70b9\u4f5c\u4e3a\u8d21\u732e\u8005\uff0c\u5982\u679c\u4ecd\u7136\u9047\u5230\u5f02\u5e38\uff0c\u4f1a\u7ee7\u7eed\u9009\u62e9\u5176\u4ed6online\u8282\u70b9\uff0c\u76f4\u5230\u6240\u6709online\u8282\u70b9\u679a\u4e3e\u5b8c\u6bd5\uff0c\u5982\u679c\u8fd9\u65f6\u4ecd\u7136\u62a5\u9519\uff0c\u4f1asleep\u4e00\u6bb5\u65f6\u95f4\u4e4b\u540e\uff0c\u518d\u6b21\u91cd\u8bd5\uff0csleep\u65f6\u95f4\u548c\u91cd\u8bd5\u6b21\u6570\u901a\u8fc7\u76f8\u5e94\u53c2\u6570\u6765\u63a7\u5236\u3002<br \/>\n\u7b2c\u4e00\u9636\u6bb5\uff0c\u5e94\u7528binlog\u7684\u5f00\u59cb\u70b9\u7531\u65b0\u8282\u70b9\u7684gtid_executed\u51b3\u5b9a\uff0c\u7ed3\u675f\u70b9\u7531View_change\u4e8b\u4ef6\u51b3\u5b9a\u3002MGR\u65b0\u8282\u70b9\u52a0\u5165\u7ec4\u7684\u7b2c\u4e00\u9636\u6bb5\uff0c\u7531\u4e8e\u4f7f\u7528\u4f20\u7edf\u7684\u5f02\u6b65binlog\u6570\u636e\u540c\u6b65\uff0c\u5982\u679c\u65b0\u52a0\u5165\u7684\u8282\u70b9\u4f7f\u7528\u8f83\u65e9\u7684\u5907\u4efd\uff0c\u53ef\u80fd\u51fa\u73b0binlog\u63a5\u4e0d\u4e0a\u7684\u60c5\u51b5\uff0c\u65b0\u8282\u70b9\u4e00\u76f4\u5904\u4e8eRECOVERING\u72b6\u6001\uff0c\u5728\u7ecf\u8fc7\u4e00\u5b9a\u65f6\u95f4\u95f4\u9694\u548c\u4e00\u5b9a\u6b21\u6570\u7684\u91cd\u8bd5\u540e\uff0c\u6062\u590d\u5931\u8d25\uff0c\u65b0\u8282\u70b9\u4ece\u7ec4\u4e2d\u9000\u51fa\u3002\u53e6\u5916\u4e00\u79cd\u60c5\u51b5\uff0cbinlog\u80fd\u591f\u63a5\u4e0a\uff0c\u4f46\u662fbinlog\u592a\u591a\uff0c\u5bfc\u81f4\u5e94\u7528binlog\u65f6\u95f4\u592a\u957f\uff0c\u540c\u65f6\u7b2c\u4e8c\u9636\u6bb5\u7f13\u5b58\u961f\u5217\u4e5f\u53ef\u80fd\u53d8\u5f97\u5f88\u5927\uff0c\u6574\u4e2a\u6062\u590d\u8fc7\u7a0b\u4e5f\u5c06\u82b1\u8d39\u592a\u957f\u7684\u65f6\u95f4\u3002\u5efa\u8bae\u65b0\u8282\u70b9\u52a0\u5165\u7ec4\u65f6\uff0c\u4f7f\u7528\u6700\u8fd1\u3001\u6700\u65b0\u7684\u4e00\u6b21\u5b8c\u6574\u5907\u4efd\u6570\u636e\u4f5c\u4e3a\u57fa\u7840\u3002\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>MySQL Group Replication\uff08MGR\uff09\u662fMySQL\u5b98\u65b9\u57285.7.17\u7248\u672c\u5f15\u8fdb\u7684\u4e00\u4e2a\u6570\u636e\u5e93\u9ad8\u53ef &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"http:\/\/www.weijing.co\/?p=1480\"> <span class=\"screen-reader-text\">MySQL Group Replication(MGR)\u4f7f\u7528\u9650\u5236<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[90],"tags":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"mailpoet_newsletter_max":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false,"shop_catalog":false,"shop_single":false,"shop_thumbnail":false},"uagb_author_info":{"display_name":"weijing","author_link":"http:\/\/www.weijing.co\/?author=4"},"uagb_comment_info":0,"uagb_excerpt":"MySQL Group Replication\uff08MGR\uff09\u662fMySQL\u5b98\u65b9\u57285.7.17\u7248\u672c\u5f15\u8fdb\u7684\u4e00\u4e2a\u6570\u636e\u5e93\u9ad8\u53ef&hellip;","_links":{"self":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1480"}],"collection":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1480"}],"version-history":[{"count":0,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1480\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1480"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}