Herb He
12/24/2024, 3:01 PMHerb He
12/25/2024, 2:24 AMSrikanth Chekuri
12/26/2024, 1:31 AMgo run cmd/signozschemamigrator/main.go sync --dsn=<tcp://host-name-here>:port-here --replication=true|false based on charts config --cluster-name=cluster --up=
Herb He
12/26/2024, 2:07 AMSrikanth Chekuri
12/26/2024, 2:10 AMif try to rebuild one of the replica it will not allow us to create a table that exist on another one as it’s cluster modecare to explain specifically why?
Herb He
12/26/2024, 2:14 AMON CLUSTER
statement which will try create table on other replica which already exist. And then failed. Maybe you should expose a command line arguments to control if it should include this ON CLUSTER statement or notSrikanth Chekuri
12/26/2024, 2:16 AMON CLUSTER
statement which will try create table on other replica which already exist.
Did you actually run into this error or are you saying you would get such error? Because every command has IF NOT EXISTS and given that i don't see how that would throw error https://github.com/SigNoz/signoz-otel-collector/blob/cc3d7be214533690eb034410ecdf0[…]a6/cmd/signozschemamigrator/schema_migrator/table_operations.goHerb He
12/26/2024, 2:18 AMSrikanth Chekuri
12/26/2024, 2:19 AMHerb He
12/26/2024, 2:22 AMsignoz/signoz-schema-migrator:0.102.10
and error table is the old schema_migrations table and not v2.Herb He
12/26/2024, 2:22 AMSrikanth Chekuri
12/26/2024, 2:23 AMHerb He
12/26/2024, 2:23 AMSrikanth Chekuri
12/26/2024, 2:26 AMHerb He
12/26/2024, 2:28 AM