snapshots.asciidoc 3.6 KB

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