mirror of https://github.com/apache/kafka.git
HOTFIX: fix the VersionedKeyValueToBytesStoreAdapter#isOpen API (#13695)
The VersionedKeyValueToBytesStoreAdapter#isOpen API accidentally returns the value of inner.persistent() when it should be returning inner.isOpen() Reviewers: Matthias J. Sax <mjsax@apache.org>, Luke Chen <showuon@gmail.com>, Bruno Cadonna <cadonna@apache.org>, Victoria Xia <victoria.xia@confluent.io>
This commit is contained in:
parent
f17fb75b2d
commit
6d2ad4a383
|
|
@ -115,7 +115,7 @@ public class VersionedKeyValueToBytesStoreAdapter implements VersionedBytesStore
|
|||
|
||||
@Override
|
||||
public boolean isOpen() {
|
||||
return inner.persistent();
|
||||
return inner.isOpen();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue