Skip to content

Commit 749e7be

Browse files
authored
Merge pull request #633 from ALTIBASE/BUG-51135-Add-meta-logging-option-for-replication
BUG-51135 add meta logging option for replication
2 parents 4f196b2 + 7f7d897 commit 749e7be

28 files changed

+760
-536
lines changed

Manuals/Altibase_7.3/eng/Adapter for JDBC User's Manual.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -921,11 +921,20 @@ Using the jdbcAdapter to apply changed data from the Altibase server to another
921921
- BUILD OFFLINE META
922922
This reads the sender meta and Restart SN files from the ala_meta_files folder in the specified log file path. This constructs the necessary meta information for the offline replication.
923923

924-
- RESET OFFLINE META
925-
This resets the meta information configured by BUILD OFFLINE META when it is no longer needed or configuring new meta information.
924+
- RESET OFFLINE META
926925

927-
- START WITH OFFLINE
928-
This starts replication through the specified offline path. Offline replication is a one-time operation, so it terminates right after applying all unsent logs. After the completion of offline replication, users can start replication again.
926+
The `RESET OFFLINE META` command is used to reset the offline replication metadata after executing `BUILD OFFLINE META`. It can be performed in the following situations:
927+
928+
- When an error occurs during offline replication and the metadata needs to be reconfigured.
929+
- When offline replication is no longer necessary, and the metadata is no longer required.
930+
931+
However, if an error occurs during offline replication due to DDL logs, there is no need to execute `RESET OFFLINE META`. In this case, running `RESET OFFLINE META` will cause the DDL logs to be read repeatedly, and the error may recur.
932+
933+
- START WITH OFFLINE
934+
935+
Replication is performed using the configured offline path. Offline replication is a one-time operation that applies all untransmitted logs and then immediately terminates. After offline replication is complete, replication can be started again.
936+
937+
If DDL logs are included in the replication gap during offline replication, the operation will be halted. In this case, the user must verify whether the DDL statements executed on the Active server were also executed on the server performing offline replication, and then perform offline replication again.
929938

930939
#### Constraints
931940

Manuals/Altibase_7.3/eng/Adapter for Oracle User's Manual.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,11 +1090,20 @@ Using the oraAdapter to apply changed data from the Altibase server to the Oracl
10901090
- BUILD OFFLINE META
10911091
This reads the sender meta and Restart SN files from the ala_meta_files folder in the specified log file path. This constructs the necessary meta information for the offline replication.
10921092

1093-
- RESET OFFLINE META
1094-
This resets the meta information configured by BUILD OFFLINE META when it is no longer needed or configuring new meta information.
1093+
- RESET OFFLINE META
10951094

1096-
- START WITH OFFLINE
1097-
This starts replication through the specified offline path. Offline replication is a one-time operation, so it terminates right after applying all unsent logs. After the completion of offline replication, users can start replication again.
1095+
The `RESET OFFLINE META` command is used to reset the offline replication metadata after executing `BUILD OFFLINE META`. It can be performed in the following situations:
1096+
1097+
- When an error occurs during offline replication and the metadata needs to be reconfigured.
1098+
- When offline replication is no longer necessary, and the metadata is no longer required.
1099+
1100+
However, if an error occurs during offline replication due to DDL logs, there is no need to execute `RESET OFFLINE META`. In this case, running `RESET OFFLINE META` will cause the DDL logs to be read repeatedly, and the error may recur.
1101+
1102+
- START WITH OFFLINE
1103+
1104+
Replication is performed using the configured offline path. Offline replication is a one-time operation that applies all untransmitted logs and then immediately terminates. After offline replication is complete, replication can be started again.
1105+
1106+
If DDL logs are included in the replication gap during offline replication, the operation will be halted. In this case, the user must verify whether the DDL statements executed on the Active server were also executed on the server performing offline replication, and then perform offline replication again.
10981107

10991108
#### Constraints
11001109

@@ -1362,4 +1371,3 @@ When using oraAdapter, DDL that is performing replication must be executed in th
13621371
</table>
13631372

13641373

1365-
Binary file not shown.
Binary file not shown.
Binary file not shown.

Manuals/Altibase_7.3/eng/Replication Manual.md

Lines changed: 160 additions & 125 deletions
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.
Binary file not shown.
36.6 KB
Loading

0 commit comments

Comments
 (0)