Skip to content

Conversation

@original-brownbear
Copy link
Contributor

just opening a PR to run Jenkins on these

@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. backport labels Nov 14, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@original-brownbear original-brownbear changed the title Rolling upgrade fixes Rolling Upgrade Fixes Backport 6.x Nov 14, 2018
@original-brownbear
Copy link
Contributor Author

Jenkins test this

* For `6.5+` use file based discovery in REST tests
* Relates elastic#33675
* DISCOVERY: Fix RollingUpgradeTests

* Don't manually manage min master nodes if not necessary
* Remove some dead code
* Allow for manually supplying list of seed nodes
* Closes elastic#35178
* DISCOVERY: 0s Initial State Timeout in Tests

* Don't wait for initial state even with a single node, otherwise the loop writing the discovery file causes that single node to wait
for its own transport.ports file for 30s.
* Closes elastic#35456
@original-brownbear
Copy link
Contributor Author

Jenkins test this

1 similar comment
@original-brownbear
Copy link
Contributor Author

Jenkins test this

}
dependsOn = startDependencies
} else {
dependsOn = startTasks.empty ? startDependencies : startTasks.get(0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you explain why we are picking up these dependencies on older versions only ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea, this is because we don't have the file based discovery in the main codebase in earlier versions so we don't use it.

@alpar-t alpar-t added the WIP label Nov 14, 2018
@original-brownbear
Copy link
Contributor Author

Jenkins test this

* REST-Tests: Use Dedicated AntBuilders

* Use dedicated AntBuilder everywhere since AntBuilder is not threadsafe
* Closes elastic#33778
* MINOR: Remove SNAPSHOT Suffixes in Gradle

* The snapshot qualifiers here are redundant and 6.5.0 is released anyway
@original-brownbear
Copy link
Contributor Author

closing here, I pushed these commits straight to 6.x since they were multiple backports

@original-brownbear original-brownbear deleted the rolling-upgrade-fixes branch November 15, 2018 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >test Issues or PRs that are addressing/adding tests WIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants