Skip to content

Commit 33924d3

Browse files
authored
Remove saga migration sample (#6409)
* remove saga migration sample * remove reference to sample * few more
1 parent 63ab279 commit 33924d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+3
-1221
lines changed

persistence/sql/index.md

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ related:
66
- samples/sql-persistence/simple
77
- samples/sql-persistence/transitioning-correlation-ids
88
- samples/saga/sql-sagafinder
9-
- samples/saga/migration
109
- persistence/upgrades/sql-2to3
1110
- persistence/upgrades/sql-1to2
1211
- persistence/upgrades/sql-1.0.0-1.0.1

persistence/sql/migrating-from-nhibernate.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ NHibernate has an `OutboxRecord` table shared by all endpoints, where in later v
3333

3434
## Outbox retention
3535

36-
If the outbox retention period is set to a very large period and the message throughput is high then such a migration will take a while to complete. It is recommended to keep the retention period as low as possible.
36+
If the outbox retention period is set to a very large period and the message throughput is high then such a migration will take a while to complete. It is recommended to keep the retention period as low as possible.
3737

3838
- [NHibernate Deduplication record lifespan](/persistence/nhibernate/outbox.md#deduplication-record-lifespan)
3939
- [SQL Persistence Deduplication record lifespan](/persistence/sql/outbox.md#deduplication-record-lifespan)
@@ -54,16 +54,4 @@ Downtime migration that uses custom scripting with deep knowledge on saga state
5454
- Requires custom saga migration mappings
5555
- Downtime is relative to the size of the data set
5656
- Pretty easy if the saga state schema is fairly flat
57-
- Required for outbox, timeouts, and subscriptions
58-
59-
### Runtime migration
60-
61-
Runtime migration means that both NHibernate and SQL Persistence are used. New saga instances are created via SQL Persistence while legacy instances stored using NHibernate eventually will be removed once these saga instance complete.
62-
63-
The [Saga migration from NHibernate to SQL Persistence sample](/samples/saga/migration/) shows how this can be achieved.
64-
65-
- Complex deployment
66-
- Requires saga logic to be mainted for both persisters
67-
- Does not require serialization knowledge
68-
- No downtime
69-
- Not very suitable for saga instances that never complete or when instances complete far into the future
57+
- Required for outbox, timeouts, and subscriptions

persistence/sql/saga.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ related:
66
- samples/sql-persistence/simple
77
- samples/sql-persistence/transitioning-correlation-ids
88
- samples/saga/sql-sagafinder
9-
- samples/saga/migration
109
- persistence/sql/saga-concurrency
1110
- persistence/sql/sqlsaga
1211
redirects:
@@ -37,7 +36,7 @@ NOTE: Using [delimited identifiers](https://technet.microsoft.com/en-us/library/
3736
### Columns
3837

3938

40-
#### ID
39+
#### ID
4140

4241
The value of `IContainSagaData.Id`. Primary Key.
4342

samples/saga/migration/Core_7/Client/Client.csproj

-10
This file was deleted.

samples/saga/migration/Core_7/Client/Program.cs

-54
This file was deleted.

samples/saga/migration/Core_7/Client/ReplyHandler.cs

-15
This file was deleted.

samples/saga/migration/Core_7/PersistenceMigration.sln

-33
This file was deleted.

samples/saga/migration/Core_7/Server.New/DrainTempQueueSatelliteFeature.cs

-59
This file was deleted.

samples/saga/migration/Core_7/Server.New/Program.cs

-45
This file was deleted.

samples/saga/migration/Core_7/Server.New/Server.New.csproj

-12
This file was deleted.

samples/saga/migration/Core_7/Server.New/TestSaga.cs

-60
This file was deleted.

samples/saga/migration/Core_7/Server/DummyMessage.cs

-7
This file was deleted.

samples/saga/migration/Core_7/Server/NotFoundHandler.cs

-14
This file was deleted.

0 commit comments

Comments
 (0)