Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cluster manager: use etcd3 instead of etcd2 #463

Merged
merged 2 commits into from
Feb 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cluster_manage/check_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import toml
import pybind11
import setuptools
import etcd3
except Exception as e:
print(e)
exit(-1)
Expand Down
12 changes: 12 additions & 0 deletions cluster_manage/define.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/python3

TIFLASH = 'tiflash'
TIFLASH_LABEL = {'key': 'engine', 'value': TIFLASH}
REGION_COUNT = 'region_count'
TIFLASH_REGION_COUNT = 'flash_region_count'
LOCATION_LABELS = 'location_labels'
REPLICA_COUNT = 'replica_count'
LEARNER = 'learner'
AVAILABLE = 'available'
TIFLASH_CLUSTER_MUTEX_KEY = '{}/cluster/leader'.format(TIFLASH)
LABEL_CONSTRAINTS = 'label_constraints'
317 changes: 0 additions & 317 deletions cluster_manage/etcd/__init__.py

This file was deleted.

Loading