You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by eo...@apache.org on 2021/10/25 07:25:17 UTC

[bookkeeper] branch branch-4.14 updated: A empty implement in EtcdLedgerManagerFactory to let the project can compile (#2845)

This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch branch-4.14
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/branch-4.14 by this push:
     new 5924d91  A empty implement in EtcdLedgerManagerFactory to let the project can compile (#2845)
5924d91 is described below

commit 5924d9190b13be53534c573fe98f77e039976343
Author: ZhangJian He <sh...@gmail.com>
AuthorDate: Mon Oct 25 15:08:29 2021 +0800

    A empty implement in EtcdLedgerManagerFactory to let the project can compile (#2845)
    
    (cherry picked from commit b1d5e1434f393d9ae3b5ffae1cc2fb79ce2fb624)
---
 .../apache/bookkeeper/metadata/etcd/EtcdLedgerManagerFactory.java   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/metadata-drivers/etcd/src/main/java/org/apache/bookkeeper/metadata/etcd/EtcdLedgerManagerFactory.java b/metadata-drivers/etcd/src/main/java/org/apache/bookkeeper/metadata/etcd/EtcdLedgerManagerFactory.java
index 3f103e4..4d83f73 100644
--- a/metadata-drivers/etcd/src/main/java/org/apache/bookkeeper/metadata/etcd/EtcdLedgerManagerFactory.java
+++ b/metadata-drivers/etcd/src/main/java/org/apache/bookkeeper/metadata/etcd/EtcdLedgerManagerFactory.java
@@ -25,6 +25,7 @@ import java.io.IOException;
 import org.apache.bookkeeper.common.net.ServiceURI;
 import org.apache.bookkeeper.conf.AbstractConfiguration;
 import org.apache.bookkeeper.meta.LayoutManager;
+import org.apache.bookkeeper.meta.LedgerAuditorManager;
 import org.apache.bookkeeper.meta.LedgerIdGenerator;
 import org.apache.bookkeeper.meta.LedgerManager;
 import org.apache.bookkeeper.meta.LedgerManagerFactory;
@@ -92,6 +93,11 @@ class EtcdLedgerManagerFactory implements LedgerManagerFactory {
     }
 
     @Override
+    public LedgerAuditorManager newLedgerAuditorManager() throws IOException, InterruptedException {
+        throw new UnsupportedOperationException();
+    }
+
+    @Override
     public void format(AbstractConfiguration<?> conf, LayoutManager lm)
         throws InterruptedException, KeeperException, IOException {
         try {