Skip to content

Conversation

@pxsalehi
Copy link
Member

@pxsalehi pxsalehi commented Jan 31, 2023

While checking what would it take to rework the temporary ?refresh support in #93160, I realized some YAML tests are failing because we never set the forced_refresh flag in the response. This is a simple fix and essentially is similar to what is happening in BulkShardResponse. I think with this, the bulk response now correctly reflects what happened. It also unblocks a bunch of YAML tests for Stateless. Those that explicitly check for is_false: forced_refresh, when using WAIT_UNTIL, still fail.

@pxsalehi pxsalehi added >non-issue :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. labels Jan 31, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@elasticsearchmachine elasticsearchmachine added Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.7.0 labels Jan 31, 2023
@pxsalehi pxsalehi requested review from DaveCTurner and tlrx January 31, 2023 12:48
@pxsalehi
Copy link
Member Author

To be clear, I think this is just a missing piece from the first PR. At the time, I didn't know about it, and unfortunately there were no yaml tests to catch this.

@tlrx
Copy link
Member

tlrx commented Jan 31, 2023

unfortunately there were no yaml tests to catch this.

I'm working on trying to enable some of them 😓

@pxsalehi
Copy link
Member Author

I'm working on trying to enable some of them 😓

I know, I know! 😃 I just meant, that's why it slipped the tests back then! Also I thought it helps with your effort, and it's good to have as many enabled as possible.

Copy link
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

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

LGTM

@pxsalehi
Copy link
Member Author

Thanks, Tanguy!

@pxsalehi pxsalehi merged commit cea92ff into elastic:main Jan 31, 2023
mark-vieira pushed a commit to mark-vieira/elasticsearch that referenced this pull request Jan 31, 2023
…lastic#93383)

In elastic#93160, we never set the forced_refresh flag in the response. With
this change, the bulk response now correctly reflects what happened. It
also unblocks a bunch of YAML tests for Stateless.

Relates ES-5292
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >non-issue Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants