snapshots.asciidoc 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. [float]
  2. [[breaking_80_snapshots_changes]]
  3. === Snapshot and Restore changes
  4. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  5. //Installation and Upgrade Guide
  6. //tag::notable-breaking-changes[]
  7. // end::notable-breaking-changes[]
  8. [float]
  9. === Get snapshots response format is changed
  10. It's possible to get snapshots from multiple repositories in one go. The response format has changed
  11. and now contains separate response for each repository.
  12. For example, requesting one snapshot from particular repository
  13. [source,js]
  14. -----------------------------------
  15. GET _snapshot/repo1/snap1
  16. -----------------------------------
  17. // CONSOLE
  18. // TEST[skip:no repo and snapshots are created]
  19. produces the following response
  20. [source,console-result]
  21. -----------------------------------
  22. {
  23. "responses": [
  24. {
  25. "repository": "repo1",
  26. "snapshots": [
  27. {
  28. "snapshot": "snap1",
  29. "uuid": "cEzdqUKxQ5G6MyrJAcYwmA",
  30. "version_id": 8000099,
  31. "version": "8.0.0",
  32. "indices": [],
  33. "include_global_state": true,
  34. "state": "SUCCESS",
  35. "start_time": "2019-05-10T17:01:57.868Z",
  36. "start_time_in_millis": 1557507717868,
  37. "end_time": "2019-05-10T17:01:57.909Z",
  38. "end_time_in_millis": 1557507717909,
  39. "duration_in_millis": 41,
  40. "failures": [],
  41. "shards": {
  42. "total": 0,
  43. "failed": 0,
  44. "successful": 0
  45. }
  46. }
  47. ]
  48. }
  49. ]
  50. }
  51. -----------------------------------
  52. // TESTRESPONSE[skip:no repo and snapshots are created]
  53. See <<modules-snapshots>> for more information.
  54. [float]
  55. ==== Deprecated node level compress setting removed
  56. For shared file system repositories (`"type": "fs"`), the node level setting `repositories.fs.compress` could
  57. previously be used to enable compression for all shared file system repositories where `compress` was not specified.
  58. The `repositories.fs.compress` setting has been removed.
  59. Instead use the repository specific `compress` setting to enable compression. See <<modules-snapshots>> for information
  60. on the `compress` setting.
  61. [float]
  62. ==== Compression of meta data files is now on by default
  63. Previously, the default value for `compress` was `false`. The default has been changed to `true`.
  64. This change will affect both newly created repositories and existing repositories where `compress=false` has not been
  65. explicitly specified.
  66. For more information on the compress option, see <<modules-snapshots>>
  67. [float]
  68. ==== The S3 repository plugin uses the DNS style access pattern by default
  69. Starting in version 7.4 the `repository-s3` plugin does not use the
  70. now-deprecated path-style access pattern by default. In versions 7.0, 7.1, 7.2
  71. and 7.3 the `repository-s3` plugin always used the path-style access pattern.
  72. This is a breaking change for deployments that only support path-style access
  73. but which are recognized as supporting DNS-style access by the AWS SDK. If your
  74. deployment only supports path-style access and is affected by this change then
  75. you must configure the S3 client setting `path_style_access` to `true`. This
  76. breaking change was made necessary by
  77. https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/[AWS's
  78. announcement] that the path-style access pattern is deprecated and will be
  79. unsupported on buckets created after September 30th 2020.