Schema metrics not tracked during restore operation
warningconfigurationUpdated Feb 8, 2025(via Exa)
Technologies:
How to detect:
During Weaviate startup, when schema is restored directly via schema.Restore() method instead of going through schema.addClass(), the metrics schema_collection and schema_shards are not properly tracked, leading to missing or inaccurate schema-related metrics after restore operations.
Recommended action:
Upgrade to Weaviate v1.25 or later which includes the fix for proper metrics handling during schema restore. After restore operations, verify that schema_collection and schema_shards metrics are being properly tracked and reflect the actual schema state.