I have created a blob container to store user-uploaded files. I have 2 servers running using AFD. The blob container has been mounted using blobfuse2 (the config file is attached below).
So, my web application processes the file and generates the log file for the file uploaded by the user. However, I have observed that the log file content is different on the two servers, even though they have been using the same blob container.
For example, If the user is connected to server 1, the log file is complete on server 1 and blob storage (verified from the Azure portal), however, server 2 shows the complete log file. I have waited for hours to see if there would be any sync happening later but it never does. It is not for all the processes, but only for some.
Any solution, tips, or workaround would be helpful.
Command to Mount Blob Container
sudo blobfuse2 mount /path/to/dir/ --config-file=config.yaml
logging:
type: syslog
level: log_debug
track-time: true
components:
- libfuse
- stream
- attr_cache
- azstorage
libfuse:
attribute-expiration-sec: 120
entry-expiration-sec: 120
negative-entry-expiration-sec: 240
stream:
block-size-mb: 8
max-buffers: 64
buffer-size-mb: 36
attr_cache:
timeout-sec: 7200
azstorage:
type: adls
account-name: xxxxxxxx
account-key: xxxxxxxx
endpoint: https://xxxxxxxxx
mode: key
container: xxxxxxxx
health_monitor:
enable-monitoring: true
stats-poll-interval-sec: 10