[NO ISSUE][MTD] Return Nodegroup nodes in a sorted ordered
authorMurtadha Hubail <mhubail@apache.org>
Mon, 12 Oct 2020 07:26:40 +0000 (10:26 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Tue, 13 Oct 2020 19:21:36 +0000 (19:21 +0000)
commit7f8041832f169a393f60ab2794158a79dff86de7
tree75430e6b0f4977c64257586e79c95bbd9c645c55
parenta10f414b9b2715132d036737348afb6f6c5d3a81
[NO ISSUE][MTD] Return Nodegroup nodes in a sorted ordered

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Return nodegroups list of nodes in a sorted order. This
  ensures that datasets created on the same set of nodes
  will have the same location constraints order.
- Improve logging when an index is not found.

Change-Id: I9878aac19d64e57c473428f86e8858c06104712c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/8364
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Tested-by: Murtadha Hubail <mhubail@apache.org>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entities/NodeGroup.java
hyracks-fullstack/hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/dataflow/IndexDataflowHelper.java