CDB-1200 #resolve Update cdb_tablemetadata when syncing a table
Adapt to latest changes in release/2.6.0 branch