-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Service Fabric based new provider implementation. #307
Conversation
* Add Integration Tests. * Integrate with DTFx controllers.
Create Register method.
Listen for `ClientDisconnected` event. Merge both the event sources into single one.
…ithout local caching.
Refactor Event Source.
#2) * Introduce new interface `IServiceListener` to represent each listener in StatefulService. This allows us to develop each listener separately. Migrate current codebase to consume the same.
src/DurableTask.AzureServiceFabric/DurableTask.AzureServiceFabric.csproj
Outdated
Show resolved
Hide resolved
src/DurableTask.AzureServiceFabric/DurableTask.AzureServiceFabric.csproj
Show resolved
Hide resolved
src/DurableTask.AzureServiceFabric/FabricOrchestrationInstanceStore.cs
Outdated
Show resolved
Hide resolved
}, initialDelay: TimeSpan.FromMinutes(5), delayOnSuccess: TimeSpan.FromHours(12), delayOnException: TimeSpan.FromHours(1), actionName: $"{nameof(CleanupDayOldDictionaries)}", token: this.cancellationToken); | ||
} | ||
|
||
Task CleanupOldDictionaries() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CleanupOldDictionaries [](start = 13, length = 22)
Async
src/DurableTask.AzureServiceFabric/FabricOrchestrationInstanceStore.cs
Outdated
Show resolved
Hide resolved
/// <summary> | ||
/// Traces application exceptions. | ||
/// </summary> | ||
public class ProxyServiceExceptionsLogger : ExceptionLogger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exceptions [](start = 29, length = 10)
Here and a few other places, use singular in classnames not plural. Also SessionMessagesProvider, SessionsProvider.
public class DefaultStringPartitionHashing : IPartitionHashing<string> | ||
{ | ||
/// <inheritdoc/> | ||
public Task<long> GeneratePartitionHashCode(string value, CancellationToken cancellationToken) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Task [](start = 15, length = 4)
Interested why a hashing func would return a task. If this should be like this naming should have async suffix
Update version. Address comments.
* * Add DurableTask.ServiceFabric project. * Add Integration Tests. * Integrate with DTFx controllers. * Fixes: 1. Provide ability to store last N execution ids. 2. Provide ability to retun history (with the last event). 3. Fix Generic parameters for the stores. 4. Address code review comments. 5. Implement FabricService. * Provider IHasher interface to abstract hashing strategy. Create Register method. * Addressing code review comments. Listen for `ClientDisconnected` event. Merge both the event sources into single one. * Fix reported issue. * Address code review comments - Implement simple partition resolver, without local caching. * Fix duplicate orchestration issue. Refactor Event Source. * Introduce new interface `IServiceListener` to represent each listener… (Azure#2) * Introduce new interface `IServiceListener` to represent each listener in StatefulService. This allows us to develop each listener separately. Migrate current codebase to consume the same. * Remove IOrchestrationsProvider interface. * Rename to AzureServiceFabric - Folders, CsProj files. * Rename Namespaces. * Add list of contributors. Update version. Address comments.
This pull request will introduce new provider based on Azure Service Fabric.
For more detailed notes refer to src\DurableTask.AzureServiceFabric\ReadMe.md