diff --git a/weed/replication/sink/azuresink/azure_sink.go b/weed/replication/sink/azuresink/azure_sink.go index f8f519170..1c2eb7944 100644 --- a/weed/replication/sink/azuresink/azure_sink.go +++ b/weed/replication/sink/azuresink/azure_sink.go @@ -147,6 +147,8 @@ func (g *AzureSink) CreateEntry(key string, entry *filer_pb.Entry, signatures [] if handleErr != nil { return handleErr } + // handleExistingBlob recreates the blob when needsWrite is true + freshlyCreated = needsWrite } else { return fmt.Errorf("azure create append blob %s/%s: %w", g.container, key, err) }