Skip to content

Commit ba50738

Browse files
Merge pull request #142 from ianf-mongodb/DOCSP-39099
DOCSP-39099 CDC Recoverability Content
2 parents f777b3a + 042f226 commit ba50738

File tree

4 files changed

+92
-0
lines changed

4 files changed

+92
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
You can recover a continuous sync job within 24 hours of failure.
2+
For details, see :ref:`rm-sync-jobs-recoverability`.

source/jobs/creating-jobs.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ About this Task
2424

2525
.. include:: /includes/fact-kafka-additional-time.rst
2626

27+
- .. include:: /includes/fact-cdc-recoverable.rst
28+
2729
Before you Begin
2830
----------------
2931

source/jobs/recover-jobs.txt

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
.. _rm-sync-jobs-recoverability:
2+
3+
==================
4+
Recover a Sync Job
5+
==================
6+
7+
.. contents:: On this page
8+
:local:
9+
:backlinks: none
10+
:depth: 1
11+
:class: singlecol
12+
13+
Relational Migrator can attempt to recover continuous (CDC) sync jobs
14+
that have failed within the preceding 24-hour period.
15+
The procedure for recovering a CDC sync job differs,
16+
depending on whether you're using the embedded or Kafka deployment
17+
mode. For details on each job type, see :ref:`rm-sync-jobs`.
18+
19+
About this Task
20+
---------------
21+
22+
- CDC sync job recovery depends on the type of deployment
23+
mode your using. The following table summarizes the modes.
24+
25+
.. list-table::
26+
:header-rows: 1
27+
28+
* - Mode
29+
- Description
30+
31+
* - Embedded Mode
32+
- Sync jobs that are running on a :ref:`local machine <local-machine-install>` or
33+
a :ref:`unattended server <unattended-server>`.
34+
35+
* - Kafka Mode
36+
- Sync jobs that are running with :ref:`Kafka support <kafka-intro>`.
37+
38+
- Examples of embedded mode recoverable scenarios include:
39+
40+
- Unexpected application failure
41+
- Operating system restarts
42+
43+
- Examples of Kafka CDC sync job recoverable scenarios include:
44+
45+
- Loss of individual `brokers <https://developer.confluent.io/courses/apache-kafka/brokers/>`__ in Kafka cluster
46+
- Application-level issues resulting in failed health checks
47+
48+
Task
49+
----
50+
51+
Click the tab to display the recovery procedure
52+
for each deployment mode.
53+
54+
.. tabs::
55+
56+
.. tab:: Embedded Mode
57+
:tabid: embedded-mode
58+
59+
For embedded mode recovery, the process to restart
60+
a sync job is manually triggered. This process requires
61+
restarting the Relational Migrator application.
62+
63+
.. procedure::
64+
65+
.. step:: Navigate to the :guilabel:`Data Migration` tab
66+
67+
.. step:: Click :guilabel:`Resume` on the failed sync job
68+
69+
.. tab:: Kafka Mode
70+
:tabid: kafka-mode
71+
72+
For the Kafka deployment mode recovery, the process to recover
73+
a sync job is automatic. Kafka health checks automatically
74+
attempt to resume CDC sync jobs after a failure of
75+
individual `Kafka brokers <https://developer.confluent.io/courses/apache-kafka/brokers/>`__
76+
for up to 24 hours.
77+
78+
Learn More
79+
----------
80+
81+
- :ref:`rm-create-jobs`
82+
- :ref:`rm-monitor-jobs`

source/jobs/sync-jobs.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ data remain in sync.
3535
For more details about the Kafka deployment model, see
3636
:ref:`kafka-intro`.
3737

38+
Recoverability
39+
--------------
40+
41+
.. include:: /includes/fact-cdc-recoverable.rst
42+
3843
Get Started
3944
-----------
4045

@@ -60,5 +65,6 @@ You can perform the following tasks from the **Data Migration** tab.
6065
/jobs/creating-jobs
6166
/jobs/monitoring-jobs
6267
/jobs/stopping-jobs
68+
/jobs/recover-jobs
6369
/jobs/pause-resume-kafka-jobs
6470
/jobs/data-verification/data-verification

0 commit comments

Comments
 (0)