andyzhangx / kubernetes-drivers

This repository contains all Kubernetes volume drivers on Azure
MIT License
10 stars 1 forks source link

There would be race condition when two concurrent mount happen #1

Open andyzhangx opened 6 years ago

andyzhangx commented 6 years ago

What happens if two concurrent mount events came in and we are exporting these VARS? https://github.com/andyzhangx/kubernetes-drivers/blob/master/flexvolume/blobfuse/blobfuse#L52

Need to check whether k8s would invoke mount() one at a time for every flexvolume driver