You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -821,6 +821,7 @@ Percona docStreamer generates three separate logs, each of the logs location and
821
821
1. Application Log (`logs/docStreamer.log`): Tracks the overall application status and any errors encountered.
822
822
2. Full Load Log (`logs/full_load.log`): Dedicated to the initial full synchronization process. This log, together with the status endpoint, helps you monitor the progress of the initial sync.
823
823
3. CDC Log (`logs/cdc.log`): Dedicated to Change Data Capture (CDC) operations. These operations begin only after the full sync is complete, so this log will remain empty until that point. Use it, along with the status endpoint, to track CDC progress.
824
+
4. Validation Log (`logs/validator.log`): Dedicated log for tracking the validation progress
824
825
825
826
#### Logging Configuration
826
827
@@ -832,6 +833,7 @@ The application generates specialized logs to help you monitor different stages
832
833
|`file_path`|`logs/docStreamer.log`| The primary application log containing system status and errors. |
833
834
|`ops_log_path`|`logs/cdc.log`| Dedicated log for Change Data Capture (CDC) operations and batch details. |
834
835
|`full_load_log_path`|`logs/full_load.log`| Dedicated log for tracking the progress and batches of the initial full sync. |
836
+
|`validator_log_path`|`logs/validator.log`| Dedicated log for tracking the validation progress. |
835
837
836
838
<details>
837
839
<summary>Application log sample:</summary>
@@ -1149,6 +1151,7 @@ In addition to monitoring lock queues, the Adaptive Flow Control mechanism uses
1149
1151
|`latency_threshold_ms`|`250`| The maximum acceptable latency for a `serverStatus` command. If exceeded, the system pauses to allow the target to recover. |
1150
1152
|`active_client_threshold`|`50`| The maximum number of total concurrent active clients allowed on the target before throttling occurs. |
1151
1153
|`min_wired_tiger_tickets`|`0`| The minimum number of available WiredTiger write tickets required. If it drops below this value, the system pauses. Set to `0` to disable. |
1154
+
|`target_max_queued_ops`|`50`| The safety limit for the Target's Global Lock Queue. If any node exceeds this many queued operations, docStreamer pauses. |
1152
1155
1153
1156
#### Ad-Hoc Emergency Flow Control (Pause / Resume)
1154
1157
@@ -1185,6 +1188,7 @@ The data validation engine is highly configurable to balance performance impact
1185
1188
| Setting | Default | Description |
1186
1189
|--------:|--------:|-------------|
1187
1190
|`enabled`|`true`| Master switch for the validation engine. If false, final document verification after CDC writes are skipped. CDC is guaranteed to sync the documents; this is an optional additional validation check. |
1191
+
|`full_validation`|`false`| Controls the scope of CDC data validation. If true, all ops are validated. If false (recommended), ONLY Deletes are validated (massive performance boost since inserts/updates are guaranteed by the stream payload). Note: This setting is hot-reloadable and can be changed without restarting the app. |
1188
1192
|`batch_size`|`100`| Network vs. Memory Trade-off. Controls how many document IDs are bundled into a single database lookup. Larger batches reduce network round-trips but increase memory usage. |
1189
1193
|`max_validation_workers`|`4`| Concurrency Control. The number of parallel worker threads fetching and comparing documents. Increase this if you have spare CPU/Network capacity and notice validation lagging behind CDC. |
1190
1194
|`queue_size`|`2000`| Buffer Capacity. The size of the channel buffering CDC events before validation. If the CDC writer is faster than the validator and this buffer fills up, validation requests will be queued and this could cause slowing down the replication stream. |
0 commit comments