luoyuxia opened a new issue, #1906: URL: https://github.com/apache/fluss/issues/1906
### Search before asking - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar. ### Fluss version 0.7.0 (latest release) ### Please describe the bug 🐞 When I set ``` /*+ OPTIONS('client.writer.buffer.page-size'='512kb') */ ``` I found such exception ``` Caused by: java.util.concurrent.CompletionException: com.alibaba.fluss.exception.UnknownServerException: java.lang.IndexOutOfBoundsException: capacity: 131072, index: 131072, put length: 1 at com.alibaba.fluss.memory.MemorySegment.put(MemorySegment.java:325) at com.alibaba.fluss.record.ChangeTypeVectorWriter.writeChangeType(ChangeTypeVectorWriter.java:44) at com.alibaba.fluss.record.MemoryLogRecordsArrowBuilder.append(MemoryLogRecordsArrowBuilder.java:181) at com.alibaba.fluss.server.kv.wal.ArrowWalBuilder.append(ArrowWalBuilder.java:48) at com.alibaba.fluss.server.kv.KvTablet.lambda$putAsLeader$0(KvTablet.java:338) at com.alibaba.fluss.utils.concurrent.LockUtils.inLock(LockUtils.java:42) at com.alibaba.fluss.utils.concurrent.LockUtils.inWriteLock(LockUtils.java:65) at com.alibaba.fluss.server.kv.KvTablet.putAsLeader(KvTablet.java:272) at com.alibaba.fluss.server.replica.Replica.lambda$putRecordsToLeader$12(Replica.java:875) ``` Seems the page-size is too bigger to overflow the server's page to build arrow log ### Solution _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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]
