Skip to content

Revert tmpdir#40312

Merged
alpar-t merged 5 commits intoelastic:masterfrom
alpar-t:revert-tmpdir
Mar 26, 2019
Merged

Revert tmpdir#40312
alpar-t merged 5 commits intoelastic:masterfrom
alpar-t:revert-tmpdir

Conversation

@alpar-t
Copy link
Copy Markdown
Contributor

@alpar-t alpar-t commented Mar 21, 2019

This PR reverts changes to make TMP dirs with spaces work as these have backwards comparability implications and the initial changes don't work on Linux.
ClusterFormationTasks now uses a tmp dir without spaces so we don't break it on Windows with this revert.

@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra

@mark-vieira
Copy link
Copy Markdown
Contributor

Is there an existing issue to address tmp dirs with spaces? This is still a problem for folks I assume? We are simply reverting the initial fix because it has other side-effects. If folks are running into this we should still at least track it as an issue and perhaps come up with a different solution.

@jasontedor
Copy link
Copy Markdown
Member

Yes, see #39965.

Copy link
Copy Markdown
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

I see this reverts the changes to the shell scripts, but isn't a real revert to also pass TMP through as we were implicitly doing before? This seems to change which tmp dir is used, but it is still something we are setting up (and still under the build dir, which may or may not have a space, depending if the checkout path has a space).

Copy link
Copy Markdown
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@alpar-t
Copy link
Copy Markdown
Contributor Author

alpar-t commented Mar 25, 2019

@elasticmachine run elasticsearch-ci/packaging-sample and run elasticsearch-ci/bwc

@alpar-t
Copy link
Copy Markdown
Contributor Author

alpar-t commented Mar 25, 2019

@elasticmachine run elasticsearch-ci/1

@alpar-t alpar-t merged commit 2a60ba6 into elastic:master Mar 26, 2019
@alpar-t alpar-t deleted the revert-tmpdir branch March 26, 2019 11:27
alpar-t added a commit that referenced this pull request Mar 26, 2019
* Revert "Configure TMP for test nodes on Windows (#39959)"
This reverts commit 97562a8.

* Configure a tmp dir without spaces
* Pass on TMP instead of changing it
dliappis added a commit to dliappis/rally-teams that referenced this pull request Mar 26, 2019
elastic/elasticsearch#40312 removed the need
for quotes around ES_TMPDIR (which is the previous behavior), so remove
the double quotes here too.
dliappis added a commit to elastic/rally-teams that referenced this pull request Mar 26, 2019
elastic/elasticsearch#40312 removed the need
for quotes around ES_TMPDIR (which is the previous behavior), so remove
the double quotes here too.

Relates #23
@alpar-t alpar-t added the v7.0.0 label Apr 4, 2019
alpar-t added a commit that referenced this pull request Apr 4, 2019
* Revert "Configure TMP for test nodes on Windows (#39959)"
This reverts commit 97562a8.

* Configure a tmp dir without spaces
* Pass on TMP instead of changing it
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v7.0.0 v7.2.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants