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

Passthrough needs to track create/destroy/etc operations for re-send #5

Open
jd0-sag opened this issue Jul 11, 2016 · 0 comments
Open

Comments

@jd0-sag
Copy link
Contributor

jd0-sag commented Jul 11, 2016

(migrated from Terracotta-OSS/terracotta-apis#107, after the corresponding code moved here)

Similarly to how the multi-process server tracks these, in order to cache the result of re-sent internal messages, passthrough needs to do the same, now that retire support makes it possible to see re-sent messages in more cases.

Intermittent failures with the following stack trace have been observed which seems to imply a double-create, on re-send:
at org.terracotta.passthrough.PassthroughServerProcess.create(PassthroughServerProcess.java:648) at org.terracotta.passthrough.PassthroughServerMessageDecoder.decode(PassthroughServerMessageDecoder.java:99) at org.terracotta.passthrough.PassthroughServerMessageDecoder.decode(PassthroughServerMessageDecoder.java:35) at org.terracotta.passthrough.PassthroughMessageCodec.runRawDecoder(PassthroughMessageCodec.java:399) at org.terracotta.passthrough.PassthroughMessageCodec.decodeRawMessage(PassthroughMessageCodec.java:322) at org.terracotta.passthrough.PassthroughServerProcess.serverThreadHandleMessage(PassthroughServerProcess.java:465) at org.terracotta.passthrough.PassthroughServerProcess.runServerThread(PassthroughServerProcess.java:441) at org.terracotta.passthrough.PassthroughServerProcess.access$000(PassthroughServerProcess.java:75) at org.terracotta.passthrough.PassthroughServerProcess$2.run(PassthroughServerProcess.java:208) at java.lang.Thread.run(Thread.java:745)

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

1 participant