Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include size of snapshot in snapshot metadata #29602

Merged
merged 25 commits into from
May 25, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6bcfcb8
Include size of snapshot in snapshot metadata
vladimirdolzhenko Apr 18, 2018
a08c807
Include size of snapshot in snapshot metadata - changes on Yannick's PR
vladimirdolzhenko Apr 19, 2018
50d7c78
Include size of snapshot in snapshot metadata - changes on 2nd Yannic…
vladimirdolzhenko Apr 20, 2018
6ea7e01
Include size of snapshot in snapshot metadata - changes on 3nd Yannic…
vladimirdolzhenko Apr 20, 2018
4ca0ba9
Include size of snapshot in snapshot metadata #29602
May 11, 2018
7ab7262
Include size of snapshot in snapshot metadata #29602
May 11, 2018
9a839f3
Revert "Include size of snapshot in snapshot metadata #29602"
May 11, 2018
4a0bbc7
Include size of snapshot in snapshot metadata #29602
May 11, 2018
3ebc769
#29602 added snapshot stats section to docs
May 14, 2018
828bb12
#18543 use "file_count" to eliminate "incremental", "processed" and "…
May 15, 2018
5582562
origin/master merged
May 17, 2018
f3c2306
fix doc generation
May 22, 2018
39e0190
adjusted docs, some comments
May 22, 2018
34243af
added section for 7.0 migration
May 23, 2018
816c7d9
Merge remote-tracking branch 'remotes/origin/master' into fix/18543
May 23, 2018
d13d991
Merge remote-tracking branch 'remotes/origin/master' into fix/18543
May 23, 2018
76fe2ac
typos fixed
May 23, 2018
c86c6e5
Merge remote-tracking branch 'remotes/origin/master' into fix/18543
May 23, 2018
4176564
Merge remote-tracking branch 'remotes/origin/master' into fix/18543
May 24, 2018
c05b191
added REST API test for snapshot/status (suspended before backporting…
May 25, 2018
563bea7
Merge remote-tracking branch 'remotes/origin/master' into fix/18543
May 25, 2018
e1400a8
added REST API test for snapshot/status with BWC fields
May 25, 2018
ccf7b22
fixed matching of time_in_millis/start_time_in_millis
May 25, 2018
f2a33d6
fix snapshot name for bwc test
May 25, 2018
7df83ef
fix snapshot name for bwc test
May 25, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/reference/migration/migrate_7_0.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Elasticsearch 6.x in order to be readable by Elasticsearch 7.x.
* <<breaking_70_api_changes>>
* <<breaking_70_java_changes>>
* <<breaking_70_settings_changes>>

* <<breaking_70_snapshotstats_changes>>

include::migrate_7_0/aggregations.asciidoc[]
include::migrate_7_0/analysis.asciidoc[]
Expand All @@ -47,3 +47,4 @@ include::migrate_7_0/plugins.asciidoc[]
include::migrate_7_0/api.asciidoc[]
include::migrate_7_0/java.asciidoc[]
include::migrate_7_0/settings.asciidoc[]
include::migrate_7_0/snapshotstats.asciidoc[]
13 changes: 13 additions & 0 deletions docs/reference/migration/migrate_7_0/snapshotstats.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[[breaking_70_snapshotstats_changes]]
=== Snapshot stats changes

Snapshot stats details are provided in a new structured way:

* `total` section for all the files that are referenced by the snapshot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dot at the end of sentence

* `incremental` section for those files that actually needed to be copied over as part of the incremental snapshotting.
* In case of a snapshot that's still in progress, there's also a`processed` section for files that are in the process of being copied.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space between a and processed


==== Deprecated `number_of_files`, `processed_files`, `total_size_in_bytes` and `processed_size_in_bytes` snapshot stats properties have been removed

* Properties `number_of_files` and `total_size_in_bytes` are removed and should be replaced by values of nested object `total`.
* Properties `processed_files` and `processed_size_in_bytes` are removed and should be replaced by values of nested object `processed`.
2 changes: 1 addition & 1 deletion docs/reference/modules/snapshots.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ The output is composed of different sections. The `stats` sub-object provides de
snapshotted. As snapshots are incremental, copying only the Lucene segments that are not already in the repository,
the `stats` object contains a `total` section for all the files that are referenced by the snapshot, as well as an `incremental` section
for those files that actually needed to be copied over as part of the incremental snapshotting. In case of a snapshot that's still
n progress, there's also a `processed` section that contains information about the files that are in the process of being copied.
in progress, there's also a `processed` section that contains information about the files that are in the process of being copied.

_Note_: Properties `number_of_files`, `processed_files`, `total_size_in_bytes` and `processed_size_in_bytes` are used for
backward compatibility reasons with older 5.x and 6.x versions. These fields will be removed in Elasticsearch v7.0.0.
Expand Down