Skip to content

Conversation

@taroface
Copy link
Contributor

DOC-15229

  • Add new Replicator Metrics page
    • Remove previous include used for Replicator metrics
    • Add to sidebar
    • Some maintenance work (renaming, relinking) in existing migration pages

@netlify
Copy link

netlify bot commented Dec 11, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 477f858
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/69433b48a236b600086006b1

@netlify
Copy link

netlify bot commented Dec 11, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 477f858
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/69433b482fc44e00086db565

@github-actions
Copy link

Files changed:

  • src/current/_includes/molt/fetch-data-load-output.md
  • src/current/_includes/molt/fetch-metrics.md
  • src/current/_includes/molt/fetch-schema-table-filtering.md
  • src/current/_includes/molt/fetch-table-filter-userscript.md
  • src/current/_includes/molt/migration-create-sql-user.md
  • src/current/_includes/molt/migration-prepare-database.md
  • src/current/_includes/molt/migration-prepare-schema.md
  • src/current/_includes/molt/migration-schema-design-practices.md
  • src/current/_includes/molt/migration-stop-replication.md
  • src/current/_includes/molt/molt-connection-strings.md
  • src/current/_includes/molt/molt-docker.md
  • src/current/_includes/molt/molt-drop-constraints-indexes.md
  • src/current/_includes/molt/molt-install.md
  • src/current/_includes/molt/molt-secure-connection-strings.md
  • src/current/_includes/molt/molt-setup.md
  • src/current/_includes/molt/molt-troubleshooting-failback.md
  • src/current/_includes/molt/molt-troubleshooting-fetch.md
  • src/current/_includes/molt/molt-troubleshooting-replication.md
  • src/current/_includes/molt/optimize-replicator-performance.md
  • src/current/_includes/molt/replicator-flags-usage.md
  • src/current/_includes/molt/replicator-flags.md
  • src/current/_includes/molt/replicator-metrics.md
  • src/current/_includes/molt/verify-output.md
  • src/current/_includes/v23.1/sidebar-data/migrate.json
  • src/current/_includes/v23.2/sidebar-data/migrate.json
  • src/current/_includes/v24.1/sidebar-data/migrate.json
  • src/current/_includes/v24.2/sidebar-data/migrate.json
  • src/current/_includes/v24.3/sidebar-data/migrate.json
  • src/current/_includes/v25.1/sidebar-data/migrate.json
  • src/current/_includes/v25.2/sidebar-data/migrate.json
  • src/current/_includes/v25.3/sidebar-data/migrate.json
  • src/current/_includes/v25.4/sidebar-data/migrate.json
  • src/current/_includes/v26.1/sidebar-data/migrate.json
  • src/current/molt/migrate-bulk-load.md
  • src/current/molt/migrate-failback.md
  • src/current/molt/migrate-load-replicate.md
  • src/current/molt/migrate-resume-replication.md
  • src/current/molt/molt-fetch.md
  • src/current/molt/molt-replicator.md
  • src/current/molt/molt-verify.md
  • src/current/molt/replicator-flags.md
  • src/current/molt/replicator-metrics.md
  • src/current/releases/molt.md

@netlify
Copy link

netlify bot commented Dec 11, 2025

Netlify Preview

Name Link
🔨 Latest commit 477f858
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/69433b481f22610008f1ea29
😎 Deploy Preview https://deploy-preview-21600--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

@ryanluu12345 ryanluu12345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content and layout look great! I think it's a really clean doc and intuitive. I left some comments just so Shashwat can clarify a few discrepancies I noted.

Regarding the layout, I don't think you need to show the "Staging" section for MySQL, Oracle, and PG sources. Staging is really only relevant for Cockroach sources. Can probably add conditional logic there. Other than that, sections look right to me.

Copy link
Contributor

@florence-crl florence-crl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm pending suggestions


- `oraclelogminer_scn_interval_size`
- Description: Size of the interval from the start SCN to the current Oracle SCN.
- Interpretation: Values larger than the [`--scnWindowSize`]({% link molt/replicator-flags.md %}#scn) flag value indicate replication lag, or that replication is idle.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link is an inconsistency. The flag is --scnWindowSize, but the link goes to --scn. I do not know how to resolve this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crash-overdrive @ryanluu12345 Is the proper flag name --scnWindowSize or --scn?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I can tell: scnWindowSize. It should go to scnWindowSize actually

f.IntVar(&c.SCNWindowSize, "scnWindowSize", defaultSCNWindowSize, fmt.Sprintf("the max size of SCN bounds of a pull iteration from logminer, defaults to %d", defaultSCNWindowSize))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you confirm this was changed recently? We have --scn all over the molt docs.

- Interpretation: High values indicate target apply cannot keep up with incoming transactions.
- `target_apply_queue_utilization_percent`
- Description: Percentage of apply queue capacity utilization.
- Interpretation: Values above 90 percent indicate severe backpressure. Increase [`--targetApplyQueueSize`]({% link molt/replicator-flags.md %}#target-apply-queue-size) or investigate target database performance.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this flag link be displayed for MySQL and Oracle, since "This flag applies only to CockroachDB and PostgreSQL (pglogical) sources"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crash-overdrive @ryanluu12345 Florence raised a really good point -- does the --targetApplyQueueSize only apply to CRDB and PG sources? If so, I need to clarify here.

Co-authored-by: Florence Morris <58752716+florence-crl@users.noreply.github.com>
Copy link

@crash-overdrive crash-overdrive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM mod minor things!

Can we update the metric mutations_total to mutation_total and also add it to the Oracle section as oracle supports this metric as well!

Also can we move the Note for Checkpoint terminology to CRDB section only instead of all the sections? Also for some reason staging has the Note for Checkpoint terminology as well, dont know if thats intentional or not!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants