Improve schemas population 18/86118/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Nov 2019 20:52:24 +0000 (21:52 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 09:44:56 +0000 (10:44 +0100)
commit2c95ccc220ddcc6fef541c002a8761ff9f843912
treef09f7af71f0206f06d0d41a7f0f63c8b726abe50
parent16ff45fde3c2a1e24380016db770f32b67611863
Improve schemas population

Fetching the schema is an asynchronous process, which means we could
end up with competing requests overwriting the schema. Make sure to
re-check presence when the resolution process completes.

Change-Id: I0a7076b7a476394d4815f3c8f544be7a9ffaddd8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 0faae677b33efe1dd5bec783f8e57c5c0a10cdc4)
library/impl/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbClientImpl.java