commit fa7096232b1a80a486d112b9f98a1306e4798cda
Author: Steve McLellan <email address hidden>
Date: Tue Jun 21 11:38:12 2016 -0500
Fix --type handling for indexing parent plugins
When --type is used to index a parent plugin, any child plugins are also
indexed from their APIs, and then the data's copied into the new index,
causing conflict errors. This patch simplifies indexing such that child
plugins are not indexed as a part of indexing the parent since the
reason for doing that in the past was refactored some time ago. Only
types specified in --type will be indexed from API; others from an old
index.
This patch removes initial_indexing since it no longer has use, and
renames setup_data to index_initial_data.
Patch also changes the index sync diagnostic text to indicate (with a *)
plugins which will be indexed from existing Elasticsearch data when
--type is specified.
Reviewed: https:/ /review. openstack. org/332242 /git.openstack. org/cgit/ openstack/ searchlight/ commit/ ?id=fa7096232b1 a80a486d112b9f9 8a1306e4798cda
Committed: https:/
Submitter: Jenkins
Branch: master
commit fa7096232b1a80a 486d112b9f98a13 06e4798cda
Author: Steve McLellan <email address hidden>
Date: Tue Jun 21 11:38:12 2016 -0500
Fix --type handling for indexing parent plugins
When --type is used to index a parent plugin, any child plugins are also
indexed from their APIs, and then the data's copied into the new index,
causing conflict errors. This patch simplifies indexing such that child
plugins are not indexed as a part of indexing the parent since the
reason for doing that in the past was refactored some time ago. Only
types specified in --type will be indexed from API; others from an old
index.
(See https:/ /review. openstack. org/#/c/ 295538/)
This patch removes initial_indexing since it no longer has use, and
renames setup_data to index_initial_data.
Patch also changes the index sync diagnostic text to indicate (with a *)
plugins which will be indexed from existing Elasticsearch data when
--type is specified.
Change-Id: Idbec6d3bf663cd a7eeb6ab4be19b7 3d41fa2c8da
Closes-Bug: #1584148