Skip to content

Commit 93bdfcd

Browse files
sophiatevSophia Tevosyan
andauthored
Mark AllowReplayingTerminalInstances Obsolete (#3249)
* first commit * add disable warning * fixing line endings * Update Obsolete attribute message for AllowReplayingTerminalInstances --------- Co-authored-by: Sophia Tevosyan <[email protected]>
1 parent b64b734 commit 93bdfcd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/WebJobs.Extensions.DurableTask/AzureStorageDurabilityProviderFactory.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ internal AzureStorageOrchestrationServiceSettings GetAzureStorageOrchestrationSe
218218
UseSeparateQueueForEntityWorkItems = this.useSeparateQueueForEntityWorkItems,
219219
EntityMessageReorderWindowInMinutes = this.options.EntityMessageReorderWindowInMinutes,
220220
MaxEntityOperationBatchSize = this.options.MaxEntityOperationBatchSize,
221+
#pragma warning disable CS0618 // Type or member is obsolete
221222
AllowReplayingTerminalInstances = this.azureStorageOptions.AllowReplayingTerminalInstances,
223+
#pragma warning restore CS0618 // Type or member is obsolete
222224
PartitionTableOperationTimeout = this.azureStorageOptions.PartitionTableOperationTimeout,
223225
QueueClientMessageEncoding = this.azureStorageOptions.QueueClientMessageEncoding,
224226
};

src/WebJobs.Extensions.DurableTask/Options/AzureStorageOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ public TimeSpan MaxQueuePollingInterval
220220
/// to a client event like a termination request or an external event, which gives the framework another opportunity to update the state of
221221
/// the orchestrator in the "Instances table". To force a replay after enabling this configuration, just send any external event to the affected instanceId.
222222
/// </remarks>
223+
[Obsolete("Alternative recovery mechanisms to automatically synchronize instance and history table state have been implemented")]
223224
public bool AllowReplayingTerminalInstances { get; set; } = false;
224225

225226
/// <summary>

0 commit comments

Comments
 (0)