dragonflydb / dragonflydb/dragonfly

DFLYCLUSTER CONFIG command mutex removing

Open
#4,746 0 comments 0 reactions 1 assignee Claimed by @BorysTheDev View on GitHub
Dominant language
C++
Stars
31.6k
Forks
1.3k
Avg merge
1d 10h
Merged PRs (30d)
137

Description

Problem: To avoid several simultaneous CONFIG commands, we use mutex set_config_mu for the whole command execution. Such an approach can create a deadlock like in https://github.com/dragonflydb/dragonfly/issues/4663

We need to remove this mutex according to https://docs.google.com/document/d/1Qptda4qI1ukb4CFWnXGAqoNrmSdhhOLl-OQjiDdKyoM/edit?pli=1&tab=t.0#heading=h.nrnfbp9yix8i

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.