microsoft / microsoft/SqlNexus

Replication Topology Report Showing Wrong Results

Open
#441 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
427
Forks
111
Avg merge
3d 42m
Merged PRs (30d)
8

Description

The replication topology report is showing wrong results on some situations. In the scenario below, it lists some subscriptions that don’t exist for the given publisher because of a Cartesian join, showing combinations that don't exist

Image

Confirmed the issue is in the query used by the report design. We see the same cartesian join if we run it directly on SSMS

https://github.com/microsoft/SqlNexus/blob/b8b78f3cb0a3da37d701148942cc5a3768c61c2e/NexusReports/Replication_Topology_C.rdl#L20

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open NexusReports/Replication_Topology_C.rdl around line 20 and inspect the report query. Run the query in SSMS with the scenario from the issue to reproduce the Cartesian join. Done means the replication topology report lists only subscriptions that actually exist for each publisher.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
Domain
databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.