CloudMigrations: Add warnings for bugs with HA setups (#107265)
add warnings for HA bug
This commit is contained in:
@@ -659,7 +659,8 @@ func (s *Service) uploadSnapshot(ctx context.Context, session *cloudmigration.Cl
|
||||
// nolint:gosec
|
||||
indexFile, err := os.Open(indexFilePath)
|
||||
if err != nil {
|
||||
return fmt.Errorf("opening index files: %w", err)
|
||||
// TODO: Clean this notice once we've fixed the HA bug
|
||||
return fmt.Errorf("opening index files: %w. If you are running Grafana in a highly-available setup, try scaling down to one replica to avoid a known bug: https://github.com/grafana/grafana/issues/107264", err)
|
||||
}
|
||||
defer func() {
|
||||
if closeErr := indexFile.Close(); closeErr != nil {
|
||||
|
||||
Reference in New Issue
Block a user