Jim G.
Jim G.

Reputation: 15363

RavenDB Replication: Can I set a database's Raven-Replication-Source Guid manually?

EDIT 2: I'm encountering precisely the same issue.

For RavenDB Replication, the Raven-Replication-Source Guid is very handy when trying to discern which documents came from which server.

But in a disaster recovery scenario, it may be necessary to ensure that an instance's Raven-Replication-Source Guid remains the same as it was before it failed.

My Question:


EDIT (in response to Ayende's comment):

And here is the scenario:


EDIT 3: @Ayende's answer's pushed me to discover that I was solving the wrong problem. Here is the right way to solve my problem.

Upvotes: 0

Views: 405

Answers (1)

Ayende Rahien
Ayende Rahien

Reputation: 22956

No, that is not something that you control. And I am not sure what scenario you have that requires this. The Raven-Replication-Source is the db id of the last db where this changed (without replication).

Upvotes: 1

Related Questions