Skip to content

Commit 23b585a

Browse files
authored
Merge pull request #19635 from MashaMSFT/fixes
Fixes
2 parents 69b9241 + 0eb0849 commit 23b585a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/relational-databases/replication/transactional/bidirectional-transactional-replication.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ monikerRange: "=azuresqldb-mi-current||>=sql-server-2016"
2222
Bidirectional transactional replication is a specific transactional replication topology that allows two servers to exchange changes with each other: each server publishes data and then subscribes to a publication with the same data from the other server. The `@loopback_detection` parameter of [sp_addsubscription (Transact-SQL)](../../../relational-databases/system-stored-procedures/sp-addsubscription-transact-sql.md) is set to TRUE to ensure that changes are only sent to the Subscriber and do not result in the change being sent back to the Publisher.
2323

2424
In [!INCLUDE[ssVersion2005](../../../includes/ssversion2005-md.md)] and later versions, this topology is also supported by peer-to-peer transactional replication, but bidirectional replication can provide improved performance.
25+
26+
If you want to add a subscription to a bi-directional publication by using the the fully-qualified domain name (FQDN), verify that the server name (`@@SERVERNAME`) of the subscriber returns the FQDN. If the subscriber server name does not return the FQDN, changes that originate from that subscriber may cause primary key violations.
27+
2528

2629
## See Also
2730
[Peer-to-Peer Transactional Replication](../../../relational-databases/replication/transactional/peer-to-peer-transactional-replication.md)

docs/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,6 +1767,8 @@ items:
17671767
href: relational-databases/graphs/sql-graph-sample.md
17681768
- name: SHORTEST_PATH
17691769
href: relational-databases/graphs/sql-graph-shortest-path.md
1770+
- name: Edge constraints
1771+
href: relational-databases/tables/graph-edge-constraints.md
17701772
- name: Sequence numbers
17711773
href: relational-databases/sequence-numbers/sequence-numbers.md
17721774
items:
@@ -1888,8 +1890,6 @@ items:
18881890
href: relational-databases/tables/use-column-sets.md
18891891
- name: Table-Valued Parameters
18901892
href: relational-databases/tables/use-table-valued-parameters-database-engine.md
1891-
- name: Edge constraints
1892-
href: relational-databases/tables/graph-edge-constraints.md
18931893
- name: Primary keys
18941894
href: relational-databases/tables/primary-and-foreign-key-constraints.md
18951895
items:

0 commit comments

Comments
 (0)