Skip to content

Status values

Every group and member shows a status: an icon in the tree and the lists, a Status text and a status message. This page lists them, where they come from, and what to do when one needs attention.

How status works

The Replicator Service keeps the state of every incremental group and member, and the result of every run. The Data Replicator Manager reads them at each refresh (see Client Settings):

  • a group's Status combines the state of its polling with the states of its members;
  • a member's icon comes from the member's own state;
  • Last Status and a member's Status show run results (see Run results).

For an incremental group, the most serious condition wins, in this order: paused, polling error, a member with an error, a member with a warning, a member synchronizing, active. A running group run (baseline) shows Running whatever the incremental state.

A member run on its own

A member run on its own (for example a new baseline started with Run on the member) counts as its group running: the group shows Running, with that run's start time and progress (see Progress of a running group), and the group's Stop stops it. The member shows Running too (see Member Status column).

Progress of a running group

While a group runs, the groups list and the group's Overview tab show when the run started and the rows and bytes copied so far. The totals add up the finished members and the members still copying, so they include rows not yet committed and can go down, for example when a member's copy restarts from its last checkpoint. The group's Replication Events tab shows the same run as its first row, refreshed with the page. An incremental group keeps its incremental state in Last Status meanwhile.

Group status

Status Groups What it means What to do
Running Both A group run is in progress: a snapshot group copies its members; an incremental group baselines the members that need it. Wait, or click Stop.
Synchronizing the baseline(s) Incremental At least one member is in its synchronization period after a baseline, while changes made during the baseline are applied. Wait. The member's message says when the period ends.
Warning of a potential problem Incremental The group is paused, or a member has a warning (it needs a baseline, its source table was altered, a new staging table is available, or it's flagged). Read the group's Message. If the group is paused, see Paused; otherwise filter the Subscriptions tab by Warning and see Member status.
Error in one or more subscriptions Incremental The group's last request for changes failed and it's retrying (the Message is the error), or a member has an error (its source table was dropped, or it's broken). Read the group's Message. See Polling errors, or filter the Subscriptions tab by Error.
Unknown Incremental The Data Replicator Manager couldn't read the group's incremental state. Refresh the page. If it stays, check the Service Logs tab of the Monitoring page.

Group status messages

An incremental group's Message starts with a sentence that matches its status (for example "Group is active, but one or more subscriptions have warnings."), followed by the replication position (see Group Overview tab). The ones that need explaining:

Message Status Meaning
Group is paused. Warning of a potential problem Someone paused the group (with Pause, or by pausing its source or destination), or it was saved and not resumed yet.
Group was paused due to errors. Last error: ... Warning of a potential problem The group reached its Error Retry Limit and paused itself. The last error follows.
(an error message) Error in one or more subscriptions The last request for changes failed; the group retries.

Paused

A paused incremental group doesn't apply changes. The Capture Agent keeps capturing and staging them, and the group applies them when you click Resume. A group is paused:

  • when you click Pause on the group, or on its source or destination;
  • when you save its properties (see Saving changes);
  • after more consecutive polling errors than its Error Retry Limit. Its message then starts with "Group was paused due to errors". Fix the cause, then click Resume; the group also resumes when the Replicator Service restarts.

Polling errors

When a request for changes fails (for example, the Capture Agent or the destination can't be reached), the group shows Error in one or more subscriptions with the error as its Message, and retries every minute. When the cause goes away, the group becomes active again by itself; you don't need to run it. With an Error Retry Limit other than 0, it pauses itself after that many consecutive failures (see Group properties).

To find the cause, read the message, then the Service Logs tab of the Monitoring page around that time (see Logs). Common errors:

Member status

Snapshot members show only Idle, Running or Running elsewhere.

Icon text Filter Message What it means What to do
Running elsewhere Running elsewhere The subscription is running outside this group: on its own, or in another group. Wait. A group run skips a busy member.
Synchronizing the baseline(s) Sync finalizing Post-snapshot synchronization in-progress. Window Closing Timestamp: ... The baseline is done; changes made during it are applied until the timestamp shown. Wait.
Warning of a potential problem Run required Some members need to be Run (baseline required or suspended); or Baseline snapshot is required, according to Capture Agent. The member needs a baseline: it's new, it was reset, its definition changed, its baseline failed, or it was baselined with Manual synchronization and waits for its second run. "According to Capture Agent" means the Capture Agent asked for it. Click Run on the group; with Automatic Snapshot on, the group runs it by itself. For a Manual synchronization member, load the table, then run it again (see Baseline Replication Options).
Warning of a potential problem Altered Source table was altered. Run the subscription (or the containing group) ... The source table's structure changed. Run the group or the subscription to apply the change, or use Merge with Source in the subscription's properties. See ALTER processing.
Warning of a potential problem Flagged Subscription is active, but has had unexpected errors or row counts for INSERT, UPDATE, or DELETE on the target table. Changes are applied, but some didn't affect the expected rows (for example an update of a row missing at the destination). The destination may be out of step. Find the cause, then run a new baseline when it suits you. See Flagged members.
Warning of a potential problem Warning New staging table was generated. Next run will advance to next generation The Capture Agent started a new staging table for the source table. Run the group or the member.
Warning of a potential problem Warning Group is paused. The group is paused, so its members are too. See Paused.
Warning of a potential problem Warning Group has polling errors. The group is retrying after a polling error; its members wait. See Polling errors.
Error in one or more subscriptions Dropped Source table was dropped. Subscription is no longer valid. The source table no longer exists. Delete the member, or re-create the table and the subscription.
Error in one or more subscriptions Error Subscription is broken: ... Display Properties and save Subscription to re-create, else, Delete Subscription. The member can't be used as it is; the reason follows "broken:". Save the subscription's properties to re-create it, or delete it.

The Warning filter shows every member with a warning; Error includes dropped members.

Flagged members

A flagged member (Active (Flagged)) is a warning, not a stop: it keeps receiving and applying changes. The flag says that at least one change couldn't be applied as captured, so the destination table may no longer match the source, and lets you decide when to resynchronize it.

What gets flagged. The Replicator Service flags the member when:

  • an update or delete affects no row at the destination (the row isn't there), or more than one row. With Allow UPSERT, an update of a missing row is inserted instead (see Incremental apply options);
  • the destination rejects a change's data (SQLSTATE class 22, for example a value too long for the column or a date the destination can't store).

That change isn't applied; the next ones are. Other errors, such as a duplicate key, by default stop the group's apply and show as a polling error. Common causes: a destination key that doesn't match the replication key (see Keys, RRN/ROWID and indexes), another job or group changing the same destination table (see Designing groups), and destination columns too short for the source data.

Find the cause:

  1. Read the messages in the member's replication events, and the email notifications if set up. The first flags after a baseline are reported in full, with the SQL statement, the key and the data (flaggedSubscriptionEventLogLimit, 3 by default); later ones only increase the count.
  2. Look at the Service Logs tab of the Monitoring page around that time (see Logs). If the service forwards its entries to the Windows Application log (source SQDRSVC), the errors are there too (see Windows event log).
  3. With Use native-loader function, if available, the errors can carry little detail. Set Baseline Replication Options to Insert using ODBC on the subscription's Destination tab (see Subscription properties) to get the statement and values that failed. Switch back once you've found the cause.
  4. If the member is flagged again after a baseline, turn on key logging with errors only for the group and read the key log after the next flag (see Tracing). It records the key and values of each failed change, so you can find the row at the source. Turn key logging off afterwards.

The Capture Agent logs in the SQDR Control Center don't contain apply errors: the Replicator Service applies changes.

Clear the flag. A new baseline of the member (Run) resynchronizes the table and clears the flag; so does a replay of the member. Fix the cause first, or the member is flagged again.

Suspended members

A member with Status Stopped (Suspended) isn't in error. It uses Manual synchronization (see Baseline Replication Options): its first run prepared the destination, and the Capture Agent keeps collecting changes until you load the table yourself and run the member again. Its last run's messages end with "Manual Snapshot/Baseline ... completed Pre-Processing. RUN to complete Post-Processing after manual operation completed." For SQDR to load the member, change its Baseline Replication Options (for example to Use native-loader function, if available) and run it.

A synchronizing icon that doesn't clear

Known issue: after a baseline, most often one started by Automatic Snapshot (for example after a truncation of the source table), a member can keep the Synchronizing the baseline(s) icon (green with a black dot) after its synchronization period has ended and no changes are waiting. Only the icon is wrong: the member applies changes as usual. To check, change a row at the source and see it arrive, or watch the member's counters in its replication events. If the icon matters, for example for monitoring, contact Stelo Support.

Member Status column

An incremental member's Status column shows its incremental state, and in brackets the result of its last baseline. For example, Active (Successful) receives changes and its last baseline succeeded; Stopped (Suspended) waits for the second run of a manual baseline.

Incremental state Icon texts it goes with
Active Actively monitoring..., Synchronizing the baseline(s)
Active (Flagged) Warning (Flagged)
Stopped Warning: Run required, Altered, new staging table, group paused, group polling errors
Error Error: Dropped, broken

For the results in brackets, see Run results.

While a member is baselined, by its group or on its own, the column reads Running followed by its incremental state in brackets, for example Running (Active), and Rows and Bytes show the baseline's progress.

A hammer icon next to the member's status icon shows its schema change (DDL) status; see DDL status.

Sources and destinations

Sources and destinations have no status in the Data Replicator Manager. A problem with one shows up in the incremental groups that use it: a polling error, or members that can't be baselined. The Capture Agent's own state is on the source's Agent Summary tab (see Source properties) and in the SQDR Control Center (Summary tab).

What to do first

  1. Read the message. The group's Message on the Overview tab, or the member's, usually names the cause.
  2. Check that the group is polling. On the Overview tab, Last GetChanges should move forward at least every Poll Interval. If it doesn't and the group isn't paused, check the Service Logs tab of the Monitoring page.
  3. Open the run history on the Replication Events tab of the group or member (see Replication events).
  4. Look at the service log (Monitoring › Service Logs) for errors around that time, with ODBC details (see Logs).
  5. Record the next run in full if the cause isn't clear (see Tracing), and contact Stelo Support with the logs.