Skip to content
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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

mattgode
Copy link
Contributor

@mattgode mattgode commented Apr 9, 2018

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.

@mattgode mattgode force-pushed the mgode/implement-multi-endpoints-client branch from 8763c7b to 1ad1a8c Compare April 10, 2018 18:00
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
Copy link
Contributor

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.
Copy link
Contributor

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
Copy link
Contributor

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)
Copy link
Contributor

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?

Copy link
Contributor

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?

CHANGELOG.md Outdated
@@ -1,6 +1,7 @@
# Changelog

## v3.0.0 (unreleased)
## v2.7.0 (unreleased)
Copy link
Contributor

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
@CLAassistant
Copy link

CLAassistant commented Oct 14, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 3 committers have signed the CLA.

❌ Tiffany Cheng
❌ tiffanycheng
❌ mattgode


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants