OpenSearch/server
Tanguy Leroux 992c7889ee
Uncouple persistent task state and status (#31031)
This pull request removes the relationship between the state 
of persistent task (as stored in the cluster state) and the status 
of the task (as reported by the Task APIs and used in various 
places) that have been confusing for some time (#29608).

In order to do that, a new PersistentTaskState interface is added. 
This interface represents the persisted state of a persistent task. 
The methods used to update the state of persistent tasks are 
renamed: updatePersistentStatus() becomes updatePersistentTaskState() 
and now takes a PersistentTaskState as a parameter. The 
Task.Status type as been changed to PersistentTaskState in all 
places were it make sense (in persistent task customs in cluster 
state and all other methods that deal with the state of an allocated 
persistent task).
2018-06-15 09:26:47 +02:00
..
licenses Upgrade to Lucene-7.4.0-snapshot-0a7c3f462f (#31073) 2018-06-04 14:18:46 -04:00
src Uncouple persistent task state and status (#31031) 2018-06-15 09:26:47 +02:00
build.gradle Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00