Skip to content

Implemented distributed deployment functionality:#135

Merged
wa5i merged 1 commit intoTongsuo-Project:mainfrom
wa5i:distributed
Mar 24, 2025
Merged

Implemented distributed deployment functionality:#135
wa5i merged 1 commit intoTongsuo-Project:mainfrom
wa5i:distributed

Conversation

@wa5i
Copy link
Collaborator

@wa5i wa5i commented Mar 17, 2025

  1. Each instance synchronizes the latest data at intervals defined by the configured mounts_monitor_interval time, with a default value of 5 seconds.
  2. For the mysql storage backend, used GET_LOCK and RELEASE_LOCK to implement distributed locks
  3. For the file storage backend, used lockfile to implement distributed locks.
  4. Removed unnecessary mutex locks in mysql storage backend.
  5. Test case bugfix.

@wa5i wa5i requested a review from wsjswy March 17, 2025 09:20
@wa5i wa5i changed the title Implemented distributed deployment functionality: [WIP]Implemented distributed deployment functionality: Mar 17, 2025
@wa5i wa5i force-pushed the distributed branch 8 times, most recently from 180fc2e to 1bfe3f1 Compare March 20, 2025 06:59
@wa5i wa5i changed the title [WIP]Implemented distributed deployment functionality: Implemented distributed deployment functionality: Mar 20, 2025
@wa5i wa5i force-pushed the distributed branch 3 times, most recently from 58121ac to 6e9e874 Compare March 21, 2025 09:39
@wa5i wa5i linked an issue Mar 21, 2025 that may be closed by this pull request
1. Each instance synchronizes the latest data at intervals defined by
   the configured mounts_monitor_interval time, with a default value of
   5 seconds.
2. For the mysql storage backend, used GET_LOCK and RELEASE_LOCK to implement
   distributed locks
3. For the file storage backend, used lockfile to implement distributed locks.
4. Removed unnecessary mutex locks in mysql storage backend.
5. Test case bugfix.
@wa5i wa5i merged commit 3323c86 into Tongsuo-Project:main Mar 24, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sync mount information between nodes

2 participants