Skip to content

[Tables] Cosmos workaround for Merge/Update - #17888

Merged
13 commits merged into
Azure:masterfrom
seankane-msft:tables-cosmos-retry
Apr 8, 2021
Merged

[Tables] Cosmos workaround for Merge/Update#17888
13 commits merged into
Azure:masterfrom
seankane-msft:tables-cosmos-retry

Conversation

@seankane-msft

@seankane-msft seankane-msft commented Apr 7, 2021

Copy link
Copy Markdown
Contributor

Closes #13844

@seankane-msft
seankane-msft requested a review from annatisch April 7, 2021 23:05
@seankane-msft seankane-msft self-assigned this Apr 7, 2021

@annatisch annatisch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good - thanks for this!

Comment thread sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py Outdated
Comment thread sdk/tables/azure-data-tables/tests/test_table_batch_cosmos.py Outdated
Comment thread sdk/tables/azure-data-tables/tests/test_table_batch_cosmos.py
assert transaction_result.get_entity('batch_all_operations_together-2') is not None
assert transaction_result.get_entity('batch_all_operations_together-3') is not None
assert transaction_result.get_entity('batch_all_operations_together-4') is not None
assert transaction_result.get_entity('batch_all_operations_together-5') is not None

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we should rename this method - it's a bit too close to client.get_entity.
I'll have a think about this one :)

@annatisch annatisch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good :)
Maybe add a note to the changelog?

@ghost

ghost commented Apr 8, 2021

Copy link
Copy Markdown

Hello @seankane-msft!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost
ghost merged commit cb464b2 into Azure:master Apr 8, 2021
@seankane-msft
seankane-msft deleted the tables-cosmos-retry branch May 18, 2021 16:12
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tables] Merge operation fails with a Cosmos endpoint

2 participants