-
Notifications
You must be signed in to change notification settings - Fork 480
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
StateStore API implementation for CockroachDB #1559
Conversation
Next commit I will send Conformance Tests for CockroachDB 😃 |
Signed-off-by: Ricardo Corrêa <[email protected]>
* Upgrade nacos version Signed-off-by: Shubham Sharma <[email protected]> * Run go mod tidy all Signed-off-by: Shubham Sharma <[email protected]> * Add MaxSize to settings Signed-off-by: Shubham Sharma <[email protected]> Signed-off-by: Ricardo Corrêa <[email protected]>
Signed-off-by: Ricardo Corrêa <[email protected]>
Really excited to see this! Great contribution and kudos for adding conformance tests. |
@r-c-correa Thanks for your contribution! Looks good for me overall, just some small changes. |
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.
@r-c-correa Thanks for the contribution. Added some comments.
Please look at this PR #1550, for conformance with respect to transaction ordering.
@r-c-correa ping. address the changes and we can get this merged. |
Signed-off-by: Ricardo Corrêa <[email protected]>
Signed-off-by: Ricardo Corrêa <[email protected]>
Signed-off-by: Ricardo Corrêa <[email protected]>
Signed-off-by: Ricardo Corrêa <[email protected]>
@yaron2 I did the changes, I have only one question, waiting for @mukundansundar answer 😄 |
I don't see any question for @mukundansundar? |
@r-c-correa If you have any questions for me, please let me know .... |
updated doc PR ... dapr/docs#2276 |
Signed-off-by: Ricardo Corrêa <[email protected]>
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.
@r-c-correa small change. otherwise looks good.
Signed-off-by: Ricardo Corrêa <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1559 +/- ##
==========================================
+ Coverage 36.42% 36.55% +0.12%
==========================================
Files 160 163 +3
Lines 14900 15252 +352
==========================================
+ Hits 5428 5576 +148
- Misses 8882 9067 +185
- Partials 590 609 +19
Continue to review full report at Codecov.
|
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
@r-c-correa Thanks for this awesome contribution. Please do make sure that the docs are accurate and follow up on that PR. |
@r-c-correa ... There needs to be a follow up PR to integrate the component into dapr ... Since it is a new component ... You need to register the component in dapr/dapr |
Of course, I do that @mukundansundar 😄 |
You would need to update components-contirb ref ... But that should suffice .... |
* statestore for CockroachDB Signed-off-by: Ricardo Corrêa <[email protected]> * Upgrade nacos sdk version to meet compliance (dapr#1547) * Upgrade nacos version Signed-off-by: Shubham Sharma <[email protected]> * Run go mod tidy all Signed-off-by: Shubham Sharma <[email protected]> * Add MaxSize to settings Signed-off-by: Shubham Sharma <[email protected]> Signed-off-by: Ricardo Corrêa <[email protected]> * conformance tests for CockroachDB Signed-off-by: Ricardo Corrêa <[email protected]> * fix comment for internalNew func (CockroachDB) Signed-off-by: Ricardo Corrêa <[email protected]> * remove metadata from log (CockroachDB) Signed-off-by: Ricardo Corrêa <[email protected]> * removed unnecessary nil fields from GetResponse Signed-off-by: Ricardo Corrêa <[email protected]> * Fix ordering in transaction API for CockroachDB Signed-off-by: Ricardo Corrêa <[email protected]> * fix non-deterministic etag error (CockroachDB) Signed-off-by: Ricardo Corrêa <[email protected]> * fix error message for delete operation without key (CockroachDB) Signed-off-by: Ricardo Corrêa <[email protected]> Co-authored-by: Shubham Sharma <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Co-authored-by: Taction <[email protected]> Co-authored-by: Bernd Verst <[email protected]> Co-authored-by: Looong Dai <[email protected]> Signed-off-by: Surender Singh Malik <[email protected]>
Description
This PR introduces a CockroachDB StateStore component. The code is implemented following the example of the PostgreSQL.
Issue reference
Please reference the issue this PR will close: #1556
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: