[NO ISSUE][MD] Ensure metadata node is initialized
authorMurtadha Hubail <mhubail@apache.org>
Tue, 9 Mar 2021 22:06:17 +0000 (01:06 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Thu, 24 Jun 2021 20:35:40 +0000 (20:35 +0000)
commit294e5ed400c12ccb0da12c6339b1948981915840
treebc3fa3e6c252cb940444b254eb6180603ec6a569
parentacff469e4363dde3c0aafe3c388f62aad4aa87a7
[NO ISSUE][MD] Ensure metadata node is initialized

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

Details:

- Before attempting to being any metadata transaction, ensure
  the metadata node has been bound to avoid NPE.

Change-Id: Ic54314e9da42b4111a1aab53d1ec355ad13922e1
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/10444
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
(cherry picked from commit e8428051a7550578e2b28f5987e87ede41c83832)
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/12023
asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/MetadataManager.java