Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: docker 部署集群报错
【TiDB Environment】Test environment
【TiDB Version】Latest docker images
【Encountered Problem】TiFlash fails to start:
Error message:
[2022/09/29 10:54:21.043 +08:00] [ERROR] [] [“Application:DB::Exception: Illegal arguments: can not use DTFile to store snapshot data when the storage engine is not DeltaTree, [engine=1] [snapshot method=file1]”] [thread_id=1]
【Reproduction Steps】
- Download the official tidb-docker-compose project
- Execute the command under the master branch [docker-compose -f docker-compose-tiflash-nightly.yml up -d]
- TiFlash fails to start, and the tiflash_error.log file reports the following error:
[2022/09/29 10:57:23.357 +08:00] [ERROR] [] [“Application:DB::Exception: Illegal arguments: can not use DTFile to store snapshot data when the storage engine is not DeltaTree, [engine=1] [snapshot method=file1]”] [thread_id=1]
[2022/09/29 10:58:24.016 +08:00] [WARN] [StorageConfigParser.cpp:244] [“Application:The configuration "path" is deprecated. Check [storage] section for new style.”] [thread_id=1]
[2022/09/29 10:58:24.122 +08:00] [ERROR] [] [“Application:DB::Exception: Illegal arguments: can not use DTFile to store snapshot data when the storage engine is not DeltaTree, [engine=1] [snapshot method=file1]”] [thread_id=1]
[2022/09/29 10:59:24.798 +08:00] [WARN] [StorageConfigParser.cpp:244] [“Application:The configuration "path" is deprecated. Check [storage] section for new style.”] [thread_id=1]
[2022/09/29 10:59:24.899 +08:00] [ERROR] [] [“Application:DB::Exception: Illegal arguments: can not use DTFile to store snapshot data when the storage engine is not DeltaTree, [engine=1] [snapshot method=file1]”] [thread_id=1]
【Problem Phenomenon and Impact】
Affects the TiDB database research process
【Attachments】Related logs and monitoring (https://metricstool.pingcap.com/)
If the question is about performance optimization or troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results and upload them.