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
{{ message }}
Repository navigation
Commit 2e57527
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/ravendb-to-sql-migration-overview.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ The copier runs inside the ServiceControl host, so every row and every message b
38
38
39
39
**Supported locations:**
40
40
41
-
-**The RavenDB source**: embedded on the ServiceControl host, self-hosted on the same network in a container, VM or bare metal, or RavenDB Cloud
41
+
-**The RavenDB source**: embedded on the ServiceControl host (Windows installations only, see below), self-hosted on the same network in a container, VM or bare metal, or RavenDB Cloud
42
42
-**The SQL target**: SQL Server or PostgreSQL on the ServiceControl host, elsewhere on the same network, in a container, or as a managed cloud service such as Azure SQL, Amazon RDS or Google Cloud SQL
43
43
-**Any combination of the two**, subject to the requirements below
44
44
@@ -61,6 +61,7 @@ The copier runs inside the ServiceControl host, so every row and every message b
61
61
62
62
- Any server-to-server copy: no backup and restore, no RavenDB ETL or replication into SQL, no external data pipeline
63
63
- A host that can reach only one of the two databases at a time, so no staged move by way of an offline copy
64
+
-**An embedded RavenDB source when ServiceControl runs in a container.** Reading an embedded database means starting a RavenDB server process, and the container image does not carry one: `ServiceControl.Persistence.RavenDB.csproj:36` excludes the `RavenDBServer` directory from the artifact, and the copy that would restore it at `:44` is conditional on `CI` not being set, which the Dockerfile sets. A containerised instance migrating away from embedded RavenDB has to point at an external RavenDB server rather than at a data directory. Windows installations are unaffected: the installer unzips the server unconditionally
64
65
- Primary and throughput RavenDB databases in different locations
65
66
- Anything but RavenDB as the source, or anything but a ServiceControl EF Core persister as the target
66
67
@@ -142,7 +143,7 @@ flowchart TB
142
143
143
144
### Required
144
145
145
-
- Unresolved failed messages, with their bodies. Attempt history collapses to the newest attempt, because the SQL model has no attempts table.
146
+
- Unresolved **and retry-issued**failed messages, with their bodies. Attempt history collapses to the newest attempt, because the SQL model has no attempts table. Retry-issued messages are required for the same reason unresolved ones are: issuing a retry deletes the expiry, so they never age out. Leaving one behind means the retry confirmation arrives with no row to mark resolved, and the message stays missing from the customer's list while the retry actually succeeded
146
147
- Message redirects
147
148
- Endpoint settings
148
149
- Known endpoints, including the monitored flag. One category, because the flag is a property of the endpoint row and cannot be copied without it
0 commit comments