From 4f56828660e80a9dfbc0bb71c73ba33ebbbc1b37 Mon Sep 17 00:00:00 2001 From: Matteo Merli Date: Tue, 21 May 2024 16:45:38 -0700 Subject: [PATCH] Avoid NPE --- .../org/apache/pulsar/metadata/impl/oxia/OxiaMetadataStore.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/oxia/OxiaMetadataStore.java b/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/oxia/OxiaMetadataStore.java index c5bcf3405f9d5..154a0ec0c4fd8 100644 --- a/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/oxia/OxiaMetadataStore.java +++ b/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/oxia/OxiaMetadataStore.java @@ -61,6 +61,7 @@ public OxiaMetadataStore(AsyncOxiaClient oxia, String identity) { super("oxia-metadata"); this.client = oxia; this.identity = identity; + this.synchronizer = Optional.empty(); init(); }