Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream-id is illegal #570

Open
lizhanhui opened this issue Nov 3, 2023 · 0 comments
Open

stream-id is illegal #570

lizhanhui opened this issue Nov 3, 2023 · 0 comments
Assignees

Comments

@lizhanhui
Copy link
Contributor

2023-11-03 10:07:51,909 INFO commitWalObject with walObject=[broker_id: 2 object_id: -1 sequence_id: -1 sub_streams { }], streamObjects=[end_offset: 4202 object_id: 1 object_size: 107631499], compactedObjects=[]
2023-11-03 10:07:51,913 ERROR Yuck, S3StreamObject is having invalid stream-id: end_offset: 4202
object_id: 1
object_size: 107631499

2023-11-03 10:07:51,929 ERROR CommitWalObject failed
java.lang.NullPointerException: Cannot invoke "com.automq.rocketmq.metadata.dao.Stream.getState()" because "stream" is null
at com.automq.rocketmq.metadata.s3.DefaultS3MetadataService.extendRange(DefaultS3MetadataService.java:556) ~[rocketmq-metadata-5.1.3-automq-0-SNAPSHOT.jar:?]
at com.automq.rocketmq.metadata.s3.DefaultS3MetadataService.commitWalObject(DefaultS3MetadataService.java:178) ~[rocketmq-metadata-5.1.3-automq-0-SNAPSHOT.jar:?]
at com.automq.rocketmq.metadata.DefaultStoreMetadataService.commitWalObject(DefaultStoreMetadataService.java:101) ~[rocketmq-metadata-5.1.3-automq-0-SNAPSHOT.jar:?]
at com.automq.rocketmq.store.S3ObjectManager.commitWALObject(S3ObjectManager.java:103) ~[rocketmq-store-5.1.3-automq-0-SNAPSHOT.jar:?]
at com.automq.stream.s3.WALObjectUploadTask.lambda$commit$10(WALObjectUploadTask.java:156) ~[s3stream-0.1.21-SNAPSHOT.jar:?]
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179) ~[?:?]
at com.automq.stream.s3.WALObjectUploadTask.lambda$upload0$7(WALObjectUploadTask.java:148) ~[s3stream-0.1.21-SNAPSHOT.jar:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179) ~[?:?]
at com.automq.stream.utils.FutureUtil.lambda$propagate$0(FutureUtil.java:51) ~[s3stream-0.1.21-SNAPSHOT.jar:?]
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863) ~[?:?]
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179) ~[?:?]
at com.automq.stream.s3.operator.DefaultS3Operator.lambda$acquireWritePermit$36(DefaultS3Operator.java:620) ~[s3stream-0.1.21-SNAPSHOT.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants