Skip to content

Commit c64e663

Browse files
authored
Refactor db replicator - split into initial / realtime (bakwc#136)
1 parent 8073ab6 commit c64e663

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)