Skip to content

Conversation

@bleskes
Copy link
Contributor

@bleskes bleskes commented Jul 3, 2017

The current BWC code in BulkItemRequest mutates the underlying DocWriteRequests which causes test failures and unexpected state (our test infra checks bwc serialization on the fly). This PR removes this logic from master. Another PR will add a BWC layer to 5.x only.

This PR contains the logic in #25510 , which is needed to run the tests.

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM (with of course the 5.x counterpart)

@bleskes
Copy link
Contributor Author

bleskes commented Jul 7, 2017

#25510 is merged. This is now clean. I will merge it as soon as #25512 gets approved.

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

LGTM.

@bleskes bleskes merged commit 40ae134 into elastic:master Jul 8, 2017
@bleskes bleskes deleted the index_req_bwc branch July 8, 2017 09:43
@bleskes
Copy link
Contributor Author

bleskes commented Jul 8, 2017

Thx @jasontedor

bleskes added a commit that referenced this pull request Jul 8, 2017
…25512)

This is a companion PR to #25511 . See there for more explanation and background.
bleskes added a commit that referenced this pull request Jul 8, 2017
#25512 & #25511 have been merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants