Skip to content

Commit dc45cc1

Browse files
authored
Refactor db replicator - split into initial / realtime (#136)
1 parent 3d74847 commit dc45cc1

File tree

5 files changed

+626
-566
lines changed

5 files changed

+626
-566
lines changed

mysql_ch_replicator/common.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from enum import Enum
2+
3+
class Status(Enum):
4+
NONE = 0
5+
CREATING_INITIAL_STRUCTURES = 1
6+
PERFORMING_INITIAL_REPLICATION = 2
7+
RUNNING_REALTIME_REPLICATION = 3

0 commit comments

Comments
 (0)