-
Notifications
You must be signed in to change notification settings - Fork 7
Add sample application for ScalarDB Cluster .NET Client SDK (SQL) #78
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
Conversation
|
|
||
| await Task.Delay(TimeSpan.FromSeconds(1)); | ||
| } | ||
| } |
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.
I think an error handling for retry-over is needed.
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.
@komamitsu what kind of error handling?
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.
An exception should be thrown when the retry is over. Without any exception, users won't know what is happening when facing failures in the following commands.
brfrn169
left a comment
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.
LGTM! Thank you!
|
@feeblefakie @brfrn169 @Torch3333 I added a small fix to throw the last exception when the retry is over 0e7cd46. PTAL just in case. |
komamitsu
left a comment
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.
LGTM! 👍
|
@komamitsu Thank you! 🙇 |
Torch3333
left a comment
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.
LGTM, thank you!
kota2and3kan
left a comment
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.
LGTM! Thank you!
FYI: I was able to run this sample application in my local environment.
$ dotnet run PlaceOrder 1 3:1,4:1
{
"order_id": "39bf2d74-e5ef-423a-a278-56148527993b"
}
Description
This PR adds sample application for ScalarDB Cluster .NET Client SDK that uses
ISqlTransactionManager.This is a SQL version of #77
Related issues and/or PRs
https://github.com/scalar-labs/docs-internal-scalardb/pull/1061
Changes made
scalardb-dotnet-samples/scalardb-cluster-sql-sample.gitignoreChecklist
Additional notes (optional)