minio/internal/dsync
Klaus Post bdb3db6dad
Some checks failed
VulnCheck / Analysis (push) Has been cancelled
Add lock overload protection (#20876)
Reject new lock requests immediately when 1000 goroutines are queued 
for the local lock mutex.

We do not reject unlocking, refreshing, or maintenance; they add to the count.

The limit is set to allow for bursty behavior but prevent requests from 
overloading the server completely.
2025-01-31 11:54:34 -08:00
..
.gitignore rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
drwmutex_test.go debug: Add X-Amz-Request-ID to lock/unlock calls (#16309) 2022-12-23 19:49:07 -08:00
drwmutex.go Add lock overload protection (#20876) 2025-01-31 11:54:34 -08:00
dsync_test.go Do not block on distributed unlocks (#19952) 2024-06-19 07:35:19 -07:00
dsync-client_test.go tests: Remove RPC wording from the code (#14142) 2022-01-20 09:36:09 -08:00
dsync-server_test.go add missing gorilla/mux migration, update credits (#16461) 2023-01-23 08:46:37 -08:00
dsync.go tests: Clean up dsync package (#14415) 2022-03-01 11:14:28 -08:00
lock-args_gen_test.go perf: websocket grid connectivity for all internode communication (#18461) 2023-11-20 17:09:35 -08:00
lock-args_gen.go use unixNanoTime instead of time.Time in lockRequestorInfo (#20140) 2024-07-24 03:24:01 -07:00
lock-args.go use unixNanoTime instead of time.Time in lockRequestorInfo (#20140) 2024-07-24 03:24:01 -07:00
locked_rand.go re-use rand.New() do not repeat allocate. (#13448) 2021-10-18 08:39:59 -07:00
locker.go cleanup dsync tests and remove net/rpc references (#14118) 2022-01-18 12:44:38 -08:00
utils.go Fix lint issues from v1.62.0 upgrade (#20633) 2024-11-11 06:51:43 -08:00