Why TDengine Failed to insert data since Invalid table ID

Viewed 42

I did some operations to change a datadir to another one.

  1. stop TDengine
  2. change datadir configuration in taos.cfg
  3. copy datafile from old datadir to the new path.
  4. restart TDengine

I did create this table before but I can't query it now

May I know why? what did I do wrong ?

1 Answers

invalid table id happend cause by the meta data not synchronized between mnode and vnode in TDengine database . it is a very complicated issue .I suggest you to contact with offical to resolve this

but as I know ,in TDengine database 3.0 version in future ,we won't encounter this error again .because the meta data won't save in mnode any more .

Related