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

FlussTableITCase.testAppendWithSmallBuffer will hang forever #116

Open
Tracked by #109
luoyuxia opened this issue Dec 4, 2024 · 0 comments · May be fixed by #364
Open
Tracked by #109

FlussTableITCase.testAppendWithSmallBuffer will hang forever #116

luoyuxia opened this issue Dec 4, 2024 · 0 comments · May be fixed by #364

Comments

@luoyuxia
Copy link
Collaborator

luoyuxia commented Dec 4, 2024

When run FlussTableITCase.testAppendWithSmallBuffer, it's easy to fall into hang forever, and the thread stack is

	at com.alibaba.fluss.client.write.WriterMemoryBuffer.allocate(WriterMemoryBuffer.java:187)
	at com.alibaba.fluss.client.write.RecordAccumulator.allocateMemorySegment(RecordAccumulator.java:412)
	at com.alibaba.fluss.client.write.RecordAccumulator.append(RecordAccumulator.java:210)
	at com.alibaba.fluss.client.write.WriterClient.doSend(WriterClient.java:180)
	at com.alibaba.fluss.client.write.WriterClient.send(WriterClient.java:119)
	at com.alibaba.fluss.client.table.writer.TableWriter.send(TableWriter.java:71)
	at com.alibaba.fluss.client.table.writer.AppendWriter.append(AppendWriter.java:64)
	at com.alibaba.fluss.client.table.FlussTableITCase.testAppendWithSmallBuffer(FlussTableITCase.java:126)

By add @RepeatedTest(10) in this test, it should be reproduced

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

Successfully merging a pull request may close this issue.

1 participant