Database Compatibility - Database Migration in version 3. 's
Bug Description After upgrading from 3.3.4.8. to 3.3.6.6, seems the database is not readable by the upgraded version (no backward compatibility).
To Reproduce Steps to reproduce the behavior:
- docker run --name test_db -d -v C:/Temp/test_Historian/DB:/var/lib/taos -v C:/Temp/test_Historian/log:/var/log/taos --net tdengine_net -p 6030:6030 -p 6041:6041 -p 6043-6060:6043-6060 -p 6043-6060:6043-6060/udp tdengine/tdengine:3.3.4.8
- docker exec -it test_db bash
- taos
- CREATE DATABASE test;
- exit container, remove the container.
- docker run --name test_db -d -v C:/Temp/test_Historian/DB:/var/lib/taos -v C:/Temp/test_Historian/log:/var/log/taos --net tdengine_net -p 6030:6030 -p 6041:6041 -p 6043-6060:6043-6060 -p 6043-6060:6043-6060/udp tdengine/tdengine:latest
- docker exec -it test_db bash
- taos
- running the command even after one hour does not show any database upgrade.
root@xyzwq:~# taos Welcome to the TDengine Command Line Interface, Native Client Version:3.3.6.6 Copyright (c) 2025 by TDengine, all rights reserved.
failed to connect to server, reason: Database is starting up [0x80000130]
To view possible causes and suggested actions for error codes, see "Error Code Reference" in the TDengine online documentation.
Expected Behavior I would expect the database being read by new version (backward compatibility on version 3.x.x.x how to upgrade version 3. database to a higher version 3. database?
Environment (please complete the following information): Docker container
could you provide the taosdlog to us ? before that please set taosd to debugFlag 135 and clear the old taosdlog .
Also note that it cannot find the json file as the path has // . but I can run the tdengine by using the lower version with the same line command.