Skip to content

Commit e17f039

Browse files
authored
chore: bump livesync to v0.11.2 and improve state description (#4670)
Signed-off-by: Arunprasad Rajkumar <ar.arunprasad@gmail.com>
1 parent b0cf7e6 commit e17f039

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

_partials/_livesync-terminal.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ instance to a $SERVICE_LONG:
175175
As you run the $PG_CONNECTOR continuously, best practice is to run it as a Docker daemon.
176176

177177
```shell
178-
docker run -d --rm --name livesync timescale/live-sync:v0.7.0 run \
178+
docker run -d --rm --name livesync timescale/live-sync:v0.11.2 run \
179179
--publication <publication_name> --subscription <subscription_name> \
180180
--source $SOURCE --target $TARGET --table-map <table_map_as_json>
181181
```
@@ -232,10 +232,11 @@ instance to a $SERVICE_LONG:
232232

233233
| state | description |
234234
|-------|-------------|
235-
| d | initial table data sync |
236-
| f | initial table data sync completed |
237-
| s | catching up with the latest changes |
238-
| r | table is ready, syncing live changes |
235+
| i | initial state, table data sync not started |
236+
| d | initial table data sync is in progress |
237+
| f | initial table data sync completed, catching up with incremental changes |
238+
| s | synchronized, waiting for the main apply worker to take over |
239+
| r | table is ready, applying changes in real-time |
239240

240241
To see the replication lag, run the following against the SOURCE database:
241242

@@ -330,7 +331,7 @@ EOF
330331
Use the `--drop` flag to remove the replication slots created by the $PG_CONNECTOR on the source database.
331332

332333
```shell
333-
docker run -it --rm --name livesync timescale/live-sync:v0.7.0 run \
334+
docker run -it --rm --name livesync timescale/live-sync:v0.11.2 run \
334335
--publication <publication_name> --subscription <subscription_name> \
335336
--source $SOURCE --target $TARGET \
336337
--drop

0 commit comments

Comments
 (0)