feat(server): add option for task role election by zyxxoo · Pull Request #2843 · apache/hugegraph

@zyxxoo

@dosubot bot added size:S

This PR changes 10-29 lines, ignoring generated files.

feature

New feature

labels

Jul 29, 2025

@zyxxoo

@dosubot dosubot bot added size:M

This PR changes 30-99 lines, ignoring generated files.

and removed size:S

This PR changes 10-29 lines, ignoring generated files.

labels

Jul 29, 2025

imbajin

@imbajin

Changed the default value of the role election option to false in ServerOptions. Refactored TaskManager for improved readability, updated comments, removed unnecessary protected modifiers, and streamlined thread pool initialization and shutdown logic. Added deprecation notice for local master-worker mechanism.

@dosubot dosubot bot added the lgtm

This PR has been approved by a maintainer

label

Jul 30, 2025

@imbajin imbajin changed the title feat: add switch for role election feat(server): add option for task role election

Jul 30, 2025