Skip to content

What happens when multiple juicefs processes in different containers are mounted to the same directory #1054

Answered by davies
chenshibin-vip asked this question in Q&A
Discussion options

You must be logged in to vote

@chenshibin-vip When the processes use the same cache directories, they can share the cached data in theory. Because there is index of cached blocks in their memory, so they don't know whether a block a cached by other process or not. The process will scan the cached blocks in every N hours (hardcoded), after the re-scan, they can know the cached blocks from other processes.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@chenshibin-vip
Comment options

@davies
Comment options

@chenshibin-vip
Comment options

@davies
Comment options

Answer selected by davies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants