lhotari opened a new pull request #14962:
URL: https://github.com/apache/pulsar/pull/14962


   Fixes #14961
   
   ### Motivation
   
   BookKeeper 4.14.x isn't compatible with Rocksdb 6.29.4.1 
   ```
   2022-03-31T02:28:35,315+0000 
[BookieHighPriorityThread-3181-OrderedExecutor-4-0] ERROR 
org.apache.bookkeeper.proto.ReadEntryProcessor - Unexpected exception reading 
at 20:-1 : 'org.rocksdb.ReadOptions 
org.rocksdb.ReadOptions.setIterateUpperBound(org.rocksdb.Slice)'
   java.lang.NoSuchMethodError: 'org.rocksdb.ReadOptions 
org.rocksdb.ReadOptions.setIterateUpperBound(org.rocksdb.Slice)'
        at 
org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDB.getFloor(KeyValueStorageRocksDB.java:257)
 ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at 
org.apache.bookkeeper.bookie.storage.ldb.EntryLocationIndex.getLastEntryInLedgerInternal(EntryLocationIndex.java:106)
 ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at 
org.apache.bookkeeper.bookie.storage.ldb.EntryLocationIndex.getLastEntryInLedger(EntryLocationIndex.java:99)
 ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at 
org.apache.bookkeeper.bookie.storage.ldb.SingleDirectoryDbLedgerStorage.getLastEntry(SingleDirectoryDbLedgerStorage.java:559)
 ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at 
org.apache.bookkeeper.bookie.storage.ldb.SingleDirectoryDbLedgerStorage.getEntry(SingleDirectoryDbLedgerStorage.java:401)
 ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at 
org.apache.bookkeeper.bookie.storage.ldb.DbLedgerStorage.getEntry(DbLedgerStorage.java:200)
 ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at 
org.apache.bookkeeper.bookie.LedgerDescriptorImpl.readEntry(LedgerDescriptorImpl.java:160)
 ~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at org.apache.bookkeeper.bookie.Bookie.readEntry(Bookie.java:1500) 
~[org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at 
org.apache.bookkeeper.proto.ReadEntryProcessor.processPacket(ReadEntryProcessor.java:83)
 [org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at 
org.apache.bookkeeper.proto.PacketProcessorBase.safeRun(PacketProcessorBase.java:106)
 [org.apache.bookkeeper-bookkeeper-server-4.14.4.jar:4.14.4]
        at 
org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36) 
[org.apache.bookkeeper-bookkeeper-common-4.14.4.jar:4.14.4]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
[?:?]
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [io.netty-netty-common-4.1.74.Final.jar:4.1.74.Final]
        at java.lang.Thread.run(Thread.java:829) [?:?]
   ```
   
   ### Modifications
   
   This reverts commit 12faf2d0888b075c8d43728117f87505b4bdc3dd.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to