-
Notifications
You must be signed in to change notification settings - Fork 38
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
Implement MultiUpsert method in client and expose it via the Client interface #304
base: master
Are you sure you want to change the base?
Conversation
8763c7b
to
1ad1a8c
Compare
client.go
Outdated
@@ -151,7 +153,7 @@ type Client interface { | |||
// given RemoveRangeOp. | |||
RemoveRange(ctx context.Context, removeRangeOp *RemoveRangeOp) error | |||
|
|||
// TODO: Coming in v2.1 | |||
// TODO: Coming in v2.7 |
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.
3.0
client.go
Outdated
// of fields will be updated. Moreover, all entities being upserted must be part | ||
// of the same partition otherwise the request will be rejected. | ||
// NOTE: This endpoint is not officially released. No guarantees about correctness | ||
// or performance of this API will be guaranteed until v2.6 is released. |
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.
remember to update the comment when release
client.go
Outdated
|
||
results, err := c.connector.MultiUpsert(ctx, re.EntityInfo(), listMultiValues) | ||
if err != nil { | ||
return nil, err |
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.
add errors.wrap
@@ -1,6 +1,7 @@ | |||
# Changelog | |||
|
|||
## v3.0.0 (unreleased) | |||
- Implement MultiUpsert method in client and expose it via the Client interface (#304) |
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 don't see any breaking changes here, what's the reason for wanting to call this 3.0?
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 guess no reason. should i add a 2.7.0?
change versioning number
CHANGELOG.md
Outdated
@@ -1,6 +1,7 @@ | |||
# Changelog | |||
|
|||
## v3.0.0 (unreleased) | |||
## v2.7.0 (unreleased) |
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.
we intend to release 3.0 as next release
change back to 3.0.0
Change versioning to 3.0
Clarify comments
Tiffany Cheng seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
This is the last of 3 pull requests to complete functionality for multi upsert in the gateway. Multi remove is implemented in all other connectors but this diff does not implement/expose it in the client and defers that until the minor version release following the release of upsert.