Skip to content

Commit 49400b7

Browse files
committed
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 <[email protected]>, Luke Chen <[email protected]>, Bruno Cadonna <[email protected]>, Victoria Xia <[email protected]>
1 parent 2a1bdcf commit 49400b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streams/src/main/java/org/apache/kafka/streams/state/internals/VersionedKeyValueToBytesStoreAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public boolean persistent() {
115115

116116
@Override
117117
public boolean isOpen() {
118-
return inner.persistent();
118+
return inner.isOpen();
119119
}
120120

121121
@Override

0 commit comments

Comments
 (0)