We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a92c3f commit bc2a66bCopy full SHA for bc2a66b
cratedb_toolkit/admin/xmover/util/database.py
@@ -541,11 +541,8 @@ def get_problematic_shards(
541
s.routing_state,
542
s.node['name'] as node_name,
543
s.node['id'] as node_id,
544
- s."primary",
545
- a.current_state,
546
- a.explanation
+ s."primary"
547
FROM sys.shards s
548
- LEFT JOIN sys.allocations a ON (s.table_name = a.table_name AND s.id = a.shard_id)
549
LEFT JOIN information_schema.table_partitions p
550
ON s.table_name = p.table_name
551
AND s.schema_name = p.table_schema
@@ -569,8 +566,6 @@ def get_problematic_shards(
569
566
"node_name": row[6],
570
567
"node_id": row[7],
571
568
"primary": row[8],
572
- "current_state": row[9],
573
- "explanation": row[10],
574
}
575
)
576
0 commit comments