Conflict between revisions using .WithDataVolume() and Qdrant integration in Azure Container Apps
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Describe the bug
When integrating Qdrant in Aspire using .WithDataVolume():
```csharp
var qdrant = builder
.AddQdrant("qdrant")
.WithEndpointProxySupport(proxyEnabled)
.WithDataVolume();
```
and deploying via azd with an Azure DevOps pipeline to Azure Container Apps, everything works fine initially. Aspire automatically creates a Storage Account and maps a file share into the container.
However, during subsequent deployments, the new revision sometimes fails to become active. Logs indicate that multiple containers are competing for access to files in the mounted volume.
Question:
Is there a recommended way to avoid this issue?
Thanks in advance for any guidance!
### Expected Behavior
New revision works
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### .NET Version info
.NET 9
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.