tidb疯狂写log

env: v4.0.0-beta.1

当前没有client连接, tidb疯狂写log导致, server响应变慢, 且磁盘耗光:

$ ./tidb-server -V
Release Version: v4.0.0-beta.1
Git Commit Hash: 700d9def026185fe836dd56b0c39e0b4df3c320b
Git Branch: heads/refs/tags/v4.0.0-beta.1
UTC Build Time: 2020-02-28 12:11:30
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
$ ls -alh log/
total 17G
drwxr-xr-x  2 tidb tidb 4.0K Mar 18 09:45 .
drwxr-xr-x 15 tidb tidb 4.0K Mar  3 17:05 ..
-rw-r--r--  1 tidb tidb 191K Mar 18 11:02 pd.log
-rw-r--r--  1 tidb tidb    0 Mar 14 15:18 pd_stderr.log
-rw-r--r--  1 tidb tidb  51K Mar 18 11:00 prometheus.log
-rw-r--r--  1 tidb tidb 298M Mar 14 17:29 tidb-2020-03-14T17-29-10.704.log
-rw-r--r--  1 tidb tidb 300M Mar 14 19:05 tidb-2020-03-14T19-05-10.730.log
-rw-r--r--  1 tidb tidb 298M Mar 14 20:42 tidb-2020-03-14T20-42-10.682.log
-rw-r--r--  1 tidb tidb 300M Mar 14 22:18 tidb-2020-03-14T22-18-10.727.log
-rw-r--r--  1 tidb tidb 298M Mar 14 23:55 tidb-2020-03-14T23-55-10.690.log
-rw-r--r--  1 tidb tidb 298M Mar 15 01:31 tidb-2020-03-15T01-31-10.690.log
-rw-r--r--  1 tidb tidb 300M Mar 15 03:07 tidb-2020-03-15T03-07-10.741.log
-rw-r--r--  1 tidb tidb 298M Mar 15 04:44 tidb-2020-03-15T04-44-10.705.log
-rw-r--r--  1 tidb tidb 298M Mar 15 06:20 tidb-2020-03-15T06-20-10.706.log
-rw-r--r--  1 tidb tidb 300M Mar 15 07:56 tidb-2020-03-15T07-56-10.746.log
-rw-r--r--  1 tidb tidb 298M Mar 15 09:33 tidb-2020-03-15T09-33-10.686.log
-rw-r--r--  1 tidb tidb 298M Mar 15 11:09 tidb-2020-03-15T11-09-10.722.log
-rw-r--r--  1 tidb tidb 300M Mar 15 12:45 tidb-2020-03-15T12-45-10.733.log
-rw-r--r--  1 tidb tidb 299M Mar 15 14:22 tidb-2020-03-15T14-22-10.685.log
-rw-r--r--  1 tidb tidb 298M Mar 15 15:58 tidb-2020-03-15T15-58-10.689.log
-rw-r--r--  1 tidb tidb 300M Mar 15 17:34 tidb-2020-03-15T17-34-10.729.log
-rw-r--r--  1 tidb tidb 298M Mar 15 19:11 tidb-2020-03-15T19-11-10.703.log
-rw-r--r--  1 tidb tidb 298M Mar 15 20:47 tidb-2020-03-15T20-47-10.693.log
-rw-r--r--  1 tidb tidb 300M Mar 15 22:23 tidb-2020-03-15T22-23-10.755.log
-rw-r--r--  1 tidb tidb 298M Mar 16 00:00 tidb-2020-03-16T00-00-10.715.log
-rw-r--r--  1 tidb tidb 298M Mar 16 01:36 tidb-2020-03-16T01-36-10.694.log
-rw-r--r--  1 tidb tidb 298M Mar 16 03:12 tidb-2020-03-16T03-12-10.678.log
-rw-r--r--  1 tidb tidb 298M Mar 16 04:48 tidb-2020-03-16T04-48-10.685.log
-rw-r--r--  1 tidb tidb 298M Mar 16 06:24 tidb-2020-03-16T06-24-10.711.log
-rw-r--r--  1 tidb tidb 300M Mar 16 08:00 tidb-2020-03-16T08-00-10.749.log
-rw-r--r--  1 tidb tidb 298M Mar 16 09:37 tidb-2020-03-16T09-37-10.785.log
-rw-r--r--  1 tidb tidb 298M Mar 16 11:13 tidb-2020-03-16T11-13-10.701.log
-rw-r--r--  1 tidb tidb 298M Mar 16 12:49 tidb-2020-03-16T12-49-10.707.log
-rw-r--r--  1 tidb tidb 300M Mar 16 14:25 tidb-2020-03-16T14-25-10.820.log
-rw-r--r--  1 tidb tidb 298M Mar 16 16:02 tidb-2020-03-16T16-02-10.764.log
-rw-r--r--  1 tidb tidb 298M Mar 16 17:38 tidb-2020-03-16T17-38-10.715.log
-rw-r--r--  1 tidb tidb 298M Mar 16 19:14 tidb-2020-03-16T19-14-10.727.log
-rw-r--r--  1 tidb tidb 300M Mar 16 20:50 tidb-2020-03-16T20-50-10.920.log
-rw-r--r--  1 tidb tidb 298M Mar 16 22:27 tidb-2020-03-16T22-27-10.685.log
-rw-r--r--  1 tidb tidb 298M Mar 17 00:03 tidb-2020-03-17T00-03-10.704.log
-rw-r--r--  1 tidb tidb 298M Mar 17 01:39 tidb-2020-03-17T01-39-10.704.log
-rw-r--r--  1 tidb tidb 300M Mar 17 03:15 tidb-2020-03-17T03-15-10.921.log
-rw-r--r--  1 tidb tidb 298M Mar 17 04:52 tidb-2020-03-17T04-52-10.704.log
-rw-r--r--  1 tidb tidb 298M Mar 17 06:28 tidb-2020-03-17T06-28-10.851.log
-rw-r--r--  1 tidb tidb 298M Mar 17 08:04 tidb-2020-03-17T08-04-10.960.log
-rw-r--r--  1 tidb tidb 300M Mar 17 09:40 tidb-2020-03-17T09-40-10.705.log
-rw-r--r--  1 tidb tidb 298M Mar 17 11:17 tidb-2020-03-17T11-17-10.680.log
-rw-r--r--  1 tidb tidb 298M Mar 17 12:53 tidb-2020-03-17T12-53-10.884.log
-rw-r--r--  1 tidb tidb 298M Mar 17 14:29 tidb-2020-03-17T14-29-10.772.log
-rw-r--r--  1 tidb tidb 298M Mar 17 16:05 tidb-2020-03-17T16-05-10.866.log
-rw-r--r--  1 tidb tidb 298M Mar 17 17:41 tidb-2020-03-17T17-41-10.703.log
-rw-r--r--  1 tidb tidb 300M Mar 17 19:17 tidb-2020-03-17T19-17-10.725.log
-rw-r--r--  1 tidb tidb 298M Mar 17 20:54 tidb-2020-03-17T20-54-10.688.log
-rw-r--r--  1 tidb tidb 298M Mar 17 22:30 tidb-2020-03-17T22-30-10.700.log
-rw-r--r--  1 tidb tidb 298M Mar 18 00:06 tidb-2020-03-18T00-06-10.702.log
-rw-r--r--  1 tidb tidb 300M Mar 18 01:42 tidb-2020-03-18T01-42-10.733.log
-rw-r--r--  1 tidb tidb 299M Mar 18 03:19 tidb-2020-03-18T03-19-10.712.log
-rw-r--r--  1 tidb tidb 300M Mar 18 04:55 tidb-2020-03-18T04-55-10.738.log
-rw-r--r--  1 tidb tidb 299M Mar 18 06:32 tidb-2020-03-18T06-32-10.696.log
-rw-r--r--  1 tidb tidb 300M Mar 18 08:08 tidb-2020-03-18T08-08-10.748.log
-rw-r--r--  1 tidb tidb 298M Mar 18 09:45 tidb-2020-03-18T09-45-10.700.log
-rw-r--r--  1 tidb tidb 267M Mar 18 11:10 tidb.log
-rw-r--r--  1 tidb tidb 229K Mar 18 03:05 tidb_slow_query.log
-rw-r--r--  1 tidb tidb  942 Mar 17 15:40 tidb_stderr.log
-rw-r--r--  1 tidb tidb  28K Mar 18 11:02 tikv.log
-rw-r--r--  1 tidb tidb 1.4M Mar 15 15:22 tikv.log2020-03-15-15:22:21.316634946
-rw-r--r--  1 tidb tidb  34K Mar 16 15:22 tikv.log2020-03-16-15:22:30.948922136
-rw-r--r--  1 tidb tidb  34K Mar 17 15:22 tikv.log2020-03-17-15:22:45.963428443
-rw-r--r--  1 tidb tidb    0 Mar 14 15:18 tikv_stderr.log
$ head -1  log/tidb.log //head不会退出
...
\"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 24,\n    \"name\": {\n     \"O\": \"user_hidden\",\n     \"L\": \"user_hidden\"\n    },\n    \"offset\": 23,\n    \"origin_default\": null,\n    \"default\": \"0\",\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 1,\n     \"Flag\": 9,\n     \"Flen\": 4,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 25,\n    \"name\": {\n     \"O\": \"base_sha_on_merge\",\n     \"L\": \"base_sha_on_merge\"\n    },\n    \"offset\": 24,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 254,\n     \"Flag\": 0,\n     \"Flen\": 40,\n     \"Decimal\": 0,\n     \"Charset\": \"utf8\",\n     \"Collate\": \"utf8_bin\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   }\n  ],\n  \"index_info\": [\n   {\n    \"id\": 1,\n    \"idx_name\": {\n     \"O\": \"index_pull_requests_on_user_id\",\n     \"L\": \"index_pull_requests_on_user_id\"\n    },\n    \"tbl_name\": {\n     \"O\": \"\",\n     \"L\": \"\"\n    },\n    \"idx_cols\": [\n     {\n      \"name\": {\n       \"O\": \"user_id\",\n       \"L\": \"user_id\"\n      },\n      \"offset\": 4,\n      \"length\": -1\n     }\n    ],\n    \"is_unique\": false,\n    \"is_primary\": false,\n    \"state\": 5,\n    \"comment\": \"\",\n    \"index_type\": 1\n   },\n   {\n    \"id\": 2,\n    \"idx_name\": {\n     \"O\": \"index_pull_requests_on_base_repository_id_and_base_ref\",\n     \"L\": \"index_pull_requests_on_base_repository_id_and_base_ref\"\n    },\n    \"tbl_name\": {\n     \"O\": \"\",\n     \"L\": \"\"\n    },\n    \"idx_cols\": [\n     {\n      \"name\": {\n       \"O\": \"base_repository_id\",\n       \"L\": \"base_repository_id\"\n      },\n      \"offset\": 7,\n      \"length\": -1\n     },\n     {\n      \"name\": {\n       \"O\": \"base_ref\",\n       \"L\": \"base_ref\"\n      },\n      \"offset\": 9,\n      \"length\": 767\n     }\n    ],\n    \"is_unique\": false,\n    \"is_primary\": false,\n    \"state\": 5,\n    \"comment\": \"\",\n    \"index_type\": 1\n   },\n   {\n    \"id\": 3,\n    \"idx_name\": {\n     \"O\": \"index_pull_requests_on_base_repository_id_and_head_ref\",\n     \"L\": \"index_pull_requests_on_base_repository_id_and_head_ref\"\n    },\n    \"tbl_name\": {\n     \"O\": \"\",\n     \"L\": \"\"\n    },\n    \"idx_cols\": [\n     {\n      \"name\": {\n       \"O\": \"base_repository_id\",\n       \"L\": \"base_repository_id\"\n      },\n      \"offset\": 7,\n      \"length\": -1\n     },\n     {\n      \"name\": {\n       \"O\": \"head_ref\",\n       \"L\": \"head_ref\"\n      },\n      \"offset\": 10,\n      \"length\": 767\n     }\n    ],\n    \"is_unique\": false,\n    \"is_primary\": false,\n    \"state\": 5,\n    \"comment\": \"\",\n    \"index_type\": 1\n   },\n   {\n    \"id\": 4,\n    \"idx_name\": {\n     \"O\": \"head_repository_id_and_head_ref_and_head_sha\",\n     \"L\": \"head_repository_id_and_head_ref_and_head_sha\"\n    },\n    \"tbl_name\": {\n     \"O\": \"\",\n     \"L\": \"\"\n    },\n    \"idx_cols\": [\n     {\n      \"name\": {\n       \"O\": \"head_repository_id\",\n       \"L\": \"head_repository_id\"\n      },\n      \"offset\": 8,\n      \"length\": -1\n     },\n     {\n      \"name\": {\n       \"O\": \"head_ref\",\n       \"L\": \"head_ref\"\n      },\n      \"offset\": 10,\n      \"length\": 767\n     },\n     {\n      \"name\": {\n       \"O\": \"head_sha\",\n       \"L\": \"head_sha\"\n      },\n      \"offset\": 2,\n      \"length\": -1\n     }\n    ],\n    \"is_unique\": false,\n    \"is_primary\": false,\n    \"state\": 5,\n    \"comment\": \"\",\n    \"index_type\": 1\n   },\n   {\n    \"id\": 5,\n    \"idx_name\": {\n     \"O\": \"index_pull_requests_on_repository_id_and_head_ref\",\n     \"L\": \"index_pull_requests_on_repository_id_and_head_ref\"\n    },\n    \"tbl_name\": {\n     \"O\": \"\",\n     \"L\": \"\"\n    },\n    \"idx_cols\": [\n     {\n      \"name\": {\n       \"O\": \"repository_id\",\n       \"L\": \"repository_id\"\n      },\n      \"offset\": 3,\n      \"length\": -1\n     },\n     {\n      \"name\": {\n       \"O\": \"head_ref\",\n       \"L\": \"head_ref\"\n      },\n      \"offset\": 10,\n      \"length\": 767\n     }\n    ],\n    \"is_unique\": false,\n    \"is_primary\": false,\n    \"state\": 5,\n    \"comment\": \"\",\n    \"index_type\": 1\n   },\n   {\n    \"id\": 6,\n    \"idx_name\": {\n     \"O\": \"index_pull_requests_on_repository_id_and_user_id_and_user_hidden\",\n     \"L\": \"index_pull_requests_on_repository_id_and_user_id_and_user_hidden\"\n    },\n    \"tbl_name\": {\n     \"O\": \"\",\n     \"L\": \"\"\n    },\n    \"idx_cols\": [\n     {\n      \"name\": {\n       \"O\": \"repository_id\",\n       \"L\": \"repository_id\"\n      },\n      \"offset\": 3,\n      \"length\": -1\n     },\n     {\n      \"name\": {\n       \"O\": \"user_id\",\n       \"L\": \"user_id\"\n      },\n      \"offset\": 4,\n      \"length\": -1\n     },\n     {\n      \"name\": {\n       \"O\": \"user_hidden\",\n       \"L\": \"user_hidden\"\n      },\n      \"offset\": 23,\n      \"length\": -1\n     }\n    ],\n    \"is_unique\": false,\n    \"is_primary\": false,\n    \"state\": 5,\n    \"comment\": \"\",\n    \"index_type\": 1\n   },\n   {\n    \"id\": 7,\n    \"idx_name\": {\n     \"O\": \"index_pull_requests_on_user_hidden_and_user_id\",\n     \"L\": \"index_pull_requests_on_user_hidden_and_user_id\"\n    },\n    \"tbl_name\": {\n     \"O\": \"\",\n     \"L\": \"\"\n    },\n    \"idx_cols\": [\n     {\n      \"name\": {\n       \"O\": \"user_hidden\",\n       \"L\": \"user_hidden\"\n      },\n      \"offset\": 23,\n      \"length\": -1\n     },\n     {\n      \"name\": {\n       \"O\": \"user_id\",\n       \"L\": \"user_id\"\n      },\n      \"offset\": 4,\n      \"length\": -1\n     }\n    ],\n    \"is_unique\": false,\n    \"is_primary\": false,\n    \"state\": 5,\n    \"comment\": \"\",\n    \"index_type\": 1\n   },\n   {\n    \"id\": 8,\n    \"idx_name\": {\n     \"O\": \"index_pull_requests_on_repository_id_and_head_sha\",\n     \"L\": \"index_pull_requests_on_repository_id_and_head_sha\"\n    },\n    \"tbl_name\": {\n     \"O\": \"\",\n     \"L\": \"\"\n    },\n    \"idx_cols\": [\n     {\n      \"name\": {\n       \"O\": \"repository_id\",\n       \"L\": \"repository_id\"\n      },\n      \"offset\": 3,\n      \"length\": -1\n     },\n     {\n      \"name\": {\n       \"O\": \"head_sha\",\n       \"L\": \"head_sha\"\n      },\n      \"offset\": 2,\n      \"length\": -1\n     }\n    ],\n    \"is_unique\": false,\n    \"is_primary\": false,\n    \"state\": 5,\n    \"comment\": \"\",\n    \"index_type\": 1\n   }\n  ],\n  \"fk_info\": null,\n  \"state\": 5,\n  \"pk_is_handle\": true,\n  \"comment\": \"\",\n  \"auto_inc_id\": 0,\n  \"max_col_id\": 25,\n  \"max_idx_id\": 8,\n  \"update_timestamp\": 415033563129839619,\n  \"ShardRowIDBits\": 0,\n  \"max_shard_row_id_bits\": 0,\n  \"auto_random_bits\": 0,\n  \"pre_split_regions\": 0,\n  \"partition\": null,\n  \"compression\": \"\",\n  \"view\": null,\n  \"sequence\": null,\n  \"Lock\": null,\n  \"version\": 3,\n  \"tiflash_replica\": null\n },\n {\n  \"id\": 643,\n  \"name\": {\n   \"O\": \"newsletter_preferences\",\n   \"L\": \"newsletter_preferences\"\n  },\n  \"charset\": \"utf8\",\n  \"collate\": \"utf8_bin\",\n  \"cols\": [\n   {\n    \"id\": 1,\n    \"name\": {\n     \"O\": \"id\",\n     \"L\": \"id\"\n    },\n    \"offset\": 0,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 3,\n     \"Flag\": 515,\n     \"Flen\": 11,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 2,\n    \"name\": {\n     \"O\": \"user_id\",\n     \"L\": \"user_id\"\n    },\n    \"offset\": 1,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 3,\n     \"Flag\": 4105,\n     \"Flen\": 11,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 3,\n    \"name\": {\n     \"O\": \"elected_marketing_at\",\n     \"L\": \"elected_marketing_at\"\n    },\n    \"offset\": 2,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 12,\n     \"Flag\": 128,\n     \"Flen\": 19,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 4,\n    \"name\": {\n     \"O\": \"elected_transactional_at\",\n     \"L\": \"elected_transactional_at\"\n    },\n    \"offset\": 3,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 12,\n     \"Flag\": 128,\n     \"Flen\": 19,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 5,\n    \"name\": {\n     \"O\": \"created_at\",\n     \"L\": \"created_at\"\n    },\n    \"offset\": 4,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 12,\n     \"Flag\": 4225,\n     \"Flen\": 19,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 6,\n    \"name\": {\n     \"O\": \"updated_at\",\n     \"L\": \"updated_at\"\n    },\n    \"offset\": 5,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 12,\n     \"Flag\": 4225,\n     \"Flen\": 19,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   }\n  ],\n  \"index_info\": [\n   {\n    \"id\": 1,\n    \"idx_name\": {\n     \"O\": \"index_newsletter_preferences_on_user_id\",\n     \"L\": \"index_newsletter_preferences_on_user_id\"\n    },\n    \"tbl_name\": {\n     \"O\": \"\",\n     \"L\": \"\"\n    },\n    \"idx_cols\": [\n     {\n      \"name\": {\n       \"O\": \"user_id\",\n       \"L\": \"user_id\"\n      },\n      \"offset\": 1,\n      \"length\": -1\n     }\n    ],\n    \"is_unique\": false,\n    \"is_primary\": false,\n    \"state\": 5,\n    \"comment\": \"\",\n    \"index_type\": 1\n   }\n  ],\n  \"fk_info\": null,\n  \"state\": 5,\n  \"pk_is_handle\": true,\n  \"comment\": \"\",\n  \"auto_inc_id\": 0,\n  \"max_col_id\": 6,\n  \"max_idx_id\": 1,\n  \"update_timestamp\": 415033566944034829,\n  \"ShardRowIDBits\": 0,\n  \"max_shard_row_id_bits\": 0,\n  \"auto_random_bits\": 0,\n  \"pre_split_regions\": 0,\n  \"partition\": null,\n  \"compression\": \"\",\n  \"view\": null,\n  \"sequence\": null,\n  \"Lock\": null,\n  \"version\": 3,\n  \"tiflash_replica\": null\n },\n {\n  \"id\": 705,\n  \"name\": {\n   \"O\": \"oauth_application_logos\",\n   \"L\": \"oauth_application_logos\"\n  },\n  \"charset\": \"utf8\",\n  \"collate\": \"utf8_bin\",\n  \"cols\": [\n   {\n    \"id\": 1,\n    \"name\": {\n     \"O\": \"id\",\n     \"L\": \"id\"\n    },\n    \"offset\": 0,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 3,\n     \"Flag\": 515,\n     \"Flen\": 11,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 2,\n    \"name\": {\n     \"O\": \"uploader_id\",\n     \"L\": \"uploader_id\"\n    },\n    \"offset\": 1,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 3,\n     \"Flag\": 4105,\n     \"Flen\": 11,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 3,\n    \"name\": {\n     \"O\": \"name\",\n     \"L\": \"name\"\n    },\n    \"offset\": 2,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 15,\n     \"Flag\": 4097,\n     \"Flen\": 255,\n     \"Decimal\": 0,\n     \"Charset\": \"utf8\",\n     \"Collate\": \"utf8_bin\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 4,\n    \"name\": {\n     \"O\": \"content_type\",\n     \"L\": \"content_type\"\n    },\n    \"offset\": 3,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 15,\n     \"Flag\": 4097,\n     \"Flen\": 255,\n     \"Decimal\": 0,\n     \"Charset\": \"utf8\",\n     \"Collate\": \"utf8_bin\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 5,\n    \"name\": {\n     \"O\": \"size\",\n     \"L\": \"size\"\n    },\n    \"offset\": 4,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 3,\n     \"Flag\": 4097,\n     \"Flen\": 11,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 6,\n    \"name\": {\n     \"O\": \"created_at\",\n     \"L\": \"created_at\"\n    },\n    \"offset\": 5,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 12,\n     \"Flag\": 4225,\n     \"Flen\": 19,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 7,\n    \"name\": {\n     \"O\": \"updated_at\",\n     \"L\": \"updated_at\"\n    },\n    \"offset\": 6,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 12,\n     \"Flag\": 4225,\n     \"Flen\": 19,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 8,\n    \"name\": {\n     \"O\": \"guid\",\n     \"L\": \"guid\"\n    },\n    \"offset\": 7,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 15,\n     \"Flag\": 4,\n     \"Flen\": 36,\n     \"Decimal\": 0,\n     \"Charset\": \"utf8\",\n     \"Collate\": \"utf8_bin\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 9,\n    \"name\": {\n     \"O\": \"state\",\n     \"L\": \"state\"\n    },\n    \"offset\": 8,\n    \"origin_default\": null,\n    \"default\": null,\n    \"default_bit\": null,\n    \"default_is_expr\": false,\n    \"generated_expr_string\": \"\",\n    \"generated_stored\": false,\n    \"dependences\": null,\n    \"type\": {\n     \"Tp\": 3,\n     \"Flag\": 0,\n     \"Flen\": 11,\n     \"Decimal\": 0,\n     \"Charset\": \"binary\",\n     \"Collate\": \"binary\",\n     \"Elems\": null\n    },\n    \"state\": 5,\n    \"comment\": \"\",\n    \"hidden\": false,\n    \"version\": 2\n   },\n   {\n    \"id\": 10,\n    \"name\": {\n 
...

您好: 麻烦检查一下,这些log打印的内容是否都相同。如果是,上传一部分日志,几千行或者10分钟的日志,多谢

应该有很大一部分相同, 因为我能把200M的日志压缩到1M内.

两个日志持续时间都在10m内, 它们的截取间隔在20m内.

tidb.log.tar.gz (541.7 KB)

你好,问题正在分析中,稍后反馈~

如果希望测试后部署上线,建议使用当前3.0 最新的稳定版本,等 4.0 正式发布后再升级集群。

您好:

 1. 这个问题在beta1中存在,在beta2中已经修复了,建议可以升级到beta2版本使用.
 2. 也可以调整日志级别,从info调整到warn级别.

v4.0.0-beta.2还没发布吧.

TASK [local : download tidb binary] ***********************************************************************************************************
FAILED - RETRYING: download tidb binary (4 retries left).
FAILED - RETRYING: download tidb binary (3 retries left).
FAILED - RETRYING: download tidb binary (2 retries left).
FAILED - RETRYING: download tidb binary (1 retries left).
failed: [localhost] (item={u'url': u'http://download.pingcap.org/tidb-v4.0.0-beta.2-linux-amd64.tar.gz', u'version': u'v4.0.0-beta.2', u'name': u'tidb'}) => changed=false 
  attempts: 4
  dest: /home/tidb/tidb-ansible/downloads/tidb-v4.0.0-beta.2.tar.gz
  item:
    name: tidb
    url: http://download.pingcap.org/tidb-v4.0.0-beta.2-linux-amd64.tar.gz
    version: v4.0.0-beta.2
  msg: Request failed
  response: 'HTTP Error 404: Not Found'
  state: absent
  status_code: 404
  url: http://download.pingcap.org/tidb-v4.0.0-beta.2-linux-amd64.tar.gz

beta2预计今晚可以发布,你先修改日志级别,然后等到明天再试一下,多谢