highlights.asciidoc 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. [[release-highlights]]
  2. == What's new in {minor-version}
  3. coming::[{minor-version}]
  4. Here are the highlights of what's new and improved in {es} {minor-version}!
  5. ifeval::["{release-state}"!="unreleased"]
  6. For detailed information about this release, see the <<es-release-notes>> and
  7. <<breaking-changes>>.
  8. // Add previous release to the list
  9. Other versions:
  10. {ref-bare}/8.18/release-highlights.html[8.18]
  11. | {ref-bare}/8.17/release-highlights.html[8.17]
  12. | {ref-bare}/8.16/release-highlights.html[8.16]
  13. | {ref-bare}/8.15/release-highlights.html[8.15]
  14. | {ref-bare}/8.14/release-highlights.html[8.14]
  15. | {ref-bare}/8.13/release-highlights.html[8.13]
  16. | {ref-bare}/8.12/release-highlights.html[8.12]
  17. | {ref-bare}/8.11/release-highlights.html[8.11]
  18. | {ref-bare}/8.10/release-highlights.html[8.10]
  19. | {ref-bare}/8.9/release-highlights.html[8.9]
  20. | {ref-bare}/8.8/release-highlights.html[8.8]
  21. | {ref-bare}/8.7/release-highlights.html[8.7]
  22. | {ref-bare}/8.6/release-highlights.html[8.6]
  23. | {ref-bare}/8.5/release-highlights.html[8.5]
  24. | {ref-bare}/8.4/release-highlights.html[8.4]
  25. | {ref-bare}/8.3/release-highlights.html[8.3]
  26. | {ref-bare}/8.2/release-highlights.html[8.2]
  27. | {ref-bare}/8.1/release-highlights.html[8.1]
  28. | {ref-bare}/8.0/release-highlights.html[8.0]
  29. endif::[]
  30. // tag::notable-highlights[]
  31. [discrete]
  32. [[upgrade_repository_s3_to_aws_sdk_v2]]
  33. === Upgrade `repository-s3` to AWS SDK v2
  34. In earlier versions of {es} the `repository-s3` plugin was based on the AWS SDK v1. AWS will withdraw support for this SDK before the end of the life of {es} {minor-version} so we have migrated this plugin to the newer AWS SDK v2.
  35. The two SDKs are not quite compatible, so please check the breaking changes documentation and test the new version thoroughly before upgrading any production workloads.
  36. {es-pull}126843[#126843]
  37. [discrete]
  38. [[add_ability_to_redirect_ingestion_failures_on_data_streams_to_failure_store]]
  39. === Add ability to redirect ingestion failures on data streams to a failure store
  40. Documents that encountered ingest pipeline failures or mapping conflicts
  41. would previously be returned to the client as errors in the bulk and
  42. index operations. Many client applications are not equipped to respond
  43. to these failures. This leads to the failed documents often being
  44. dropped by the client which cannot hold the broken documents
  45. indefinitely. In many end user workloads, these failed documents
  46. represent events that could be critical signals for observability or
  47. security use cases.
  48. To help mitigate this problem, data streams can now maintain a "failure
  49. store" which is used to accept and hold documents that fail to be
  50. ingested due to preventable configuration errors. The data stream's
  51. failure store operates like a separate set of backing indices with their
  52. own mappings and access patterns that allow Elasticsearch to accept
  53. documents that would otherwise be rejected due to unhandled ingest
  54. pipeline exceptions or mapping conflicts.
  55. Users can enable redirection of ingest failures to the failure store on
  56. new data streams by specifying it in the new `data_stream_options` field
  57. inside of a component or index template:
  58. [source,yaml]
  59. ----
  60. PUT _index_template/my-template
  61. {
  62. "index_patterns": ["logs-test-*"],
  63. "data_stream": {},
  64. "template": {
  65. "data_stream_options": {
  66. "failure_store": {
  67. "enabled": true
  68. }
  69. }
  70. }
  71. }'
  72. ----
  73. Existing data streams can be configured with the new data stream
  74. `_options` endpoint:
  75. [source,yaml]
  76. ----
  77. PUT _data_stream/logs-test-apache/_options
  78. {
  79. "failure_store": {
  80. "enabled": "true"
  81. }
  82. }
  83. ----
  84. When redirection is enabled, any ingestion related failures will be
  85. captured in the failure store if the cluster is able to, along with the
  86. timestamp that the failure occurred, details about the error
  87. encountered, and the document that could not be ingested. Since failure
  88. stores are a kind of Elasticsearch index, we can search the data stream
  89. for the failures that it has collected. The failures are not shown by
  90. default as they are stored in different indices than the normal data
  91. stream data. In order to retrieve the failures, we use the `_search` API
  92. along with a new bit of index pattern syntax, the `::` selector.
  93. [source,yaml]
  94. ----
  95. POST logs-test-apache::failures/_search
  96. ----
  97. This index syntax informs the search operation to target the indices in
  98. its failure store instead of its backing indices. It can be mixed in a
  99. number of ways with other index patterns to include their failure store
  100. indices in the search operation:
  101. [source,yaml]
  102. ----
  103. POST logs-*::failures/_search
  104. POST logs-*,logs-*::failures/_search
  105. POST *::failures/_search
  106. POST _query
  107. {
  108. "query": "FROM my_data_stream*::failures"
  109. }
  110. ----
  111. {es-pull}126973[#126973]
  112. [discrete]
  113. [[upgrade_to_lucene_9_12_2]]
  114. === Upgrade to lucene 9.12.2
  115. * Reduce NeighborArray on-heap memory during HNSW graph building
  116. * Fix IndexSortSortedNumericDocValuesRangeQuery for integer sorting
  117. * ValueSource.fromDoubleValuesSource(dvs).getSortField() would throw errors when used if the DoubleValuesSource needed scores
  118. * Disable connectedComponents logic in HNSW graph building.
  119. {es-pull}129555[#129555]
  120. // end::notable-highlights[]