Class UpgradeTransformsRequest
Transforms are compatible across minor versions and between supported major versions. However, over time, the format of transform configuration information may change. This API identifies transforms that have a legacy configuration format and upgrades them to the latest version. It also cleans up the internal data structures that store the transform state and checkpoints. The upgrade does not affect the source and destination indices. The upgrade also does not affect the roles that transforms use when Elasticsearch security features are enabled; the role used to read source data and write to the destination index remains unchanged.
If a transform upgrade step fails, the upgrade stops and an error is returned about the underlying issue. Resolve the issue then re-run the process again. A summary is returned when the upgrade is finished.
To ensure continuous transforms remain running during a major version upgrade of the cluster – for example, from 7.16 to 8.0 – it is recommended to upgrade transforms before upgrading the cluster. You may want to perform a recent cluster backup prior to the upgrade.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionEndpoint "transform.upgrade_transforms".
- 
Method SummaryModifier and TypeMethodDescriptionfinal BooleandryRun()When true, the request checks for updates but does not run them.static UpgradeTransformsRequestfinal Timetimeout()Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTpublic static final Endpoint<UpgradeTransformsRequest,UpgradeTransformsResponse, _ENDPOINTErrorResponse> Endpoint "transform.upgrade_transforms".
 
- 
- 
Method Details- 
ofpublic static UpgradeTransformsRequest of(Function<UpgradeTransformsRequest.Builder, ObjectBuilder<UpgradeTransformsRequest>> fn) 
- 
dryRunWhen true, the request checks for updates but does not run them.API name: dry_run
- 
timeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
 
-