Comments (1)
@zyfjeff sync.map could be used replace map, but we still need to make sure updating other counters are atomic.
Usually, defer l.Unlock()
follower l.Lock()
, so it's easy to use, and no deadlock at all, so I think this is the simple way to go.
from juicefs.
Related Issues (20)
- Support block storage without Multi-Attach HOT 1
- cmd/warmup: support `--check` and `--evict` options
- Add cache-expire config in Juice Hadoop SDK HOT 1
- Support Trino HOT 2
- Support juicefs sync with src http and dst https HOT 1
- mount: /mnt/xyz: unknown filesystem type 'juicefs' HOT 1
- [Question] Mount on ceph? HOT 1
- juicefs format fails with MinIO bucket HOT 7
- generic file permission handle HOT 1
- emptyDir need to clean up all goroutines when exit HOT 2
- clang compile error with juicefs filesystem HOT 4
- Does community version supports metadata cache, data cache and read/write buffer ? HOT 1
- JuiceFS format using private S3 compliant object store HOT 1
- Support Object Storage *prefix* in format command so that we can restrict JuiceFs under a specific prefix HOT 1
- int overflows when compiling on arm32 HOT 4
- POSIX ACL HOT 1
- mount error on mac HOT 4
- gateway: improve the performance of ListObjects for large directories
- add a "nullstorage" storage backend to easy to test the ops benchmark HOT 2
- Does Not Build on FreeBSD HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juicefs.