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

Many ACKs and chunks do not match #71

Closed
tkrs opened this issue Feb 27, 2019 · 2 comments
Closed

Many ACKs and chunks do not match #71

tkrs opened this issue Feb 27, 2019 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@tkrs
Copy link
Owner

tkrs commented Feb 27, 2019

Once the incorrect ack comes back, many same errors occur after that.

[2019-02-26T17:37:53Z WARN  poston::emitter] Did not match ack and chunk. ack: MDc0M2FhNmEtMDI5NS00NmQ4LTk5ZTQtNDViZDcxZTU1NDcy, chunk: ZDQ1YzhhMzQtYWE4Zi00ZTI3LTk4ZTItMmNiNTQwMzMyYjg4.
[2019-02-26T17:37:55Z WARN  poston::emitter] Did not match ack and chunk. ack: ZDQ1YzhhMzQtYWE4Zi00ZTI3LTk4ZTItMmNiNTQwMzMyYjg4, chunk: YjRlYzY3OWItMzRiMy00MDI3LWFiMTItNTc0OTM5YzZiY2I4.
[2019-02-26T17:37:55Z WARN  poston::emitter] Did not match ack and chunk. ack: YjRlYzY3OWItMzRiMy00MDI3LWFiMTItNTc0OTM5YzZiY2I4, chunk: MDllNWE5NWYtYWYyZS00NzU5LThiMmQtMTJkOWI1YmE2OTZm.
[2019-02-26T17:37:56Z WARN  poston::emitter] Did not match ack and chunk. ack: MDllNWE5NWYtYWYyZS00NzU5LThiMmQtMTJkOWI1YmE2OTZm, chunk: NTJlM2VhY2QtN2JjNC00YzQxLTk5NmEtYjc2M2JmMjE1YTE1.
[2019-02-26T17:37:57Z WARN  poston::emitter] Did not match ack and chunk. ack: NTJlM2VhY2QtN2JjNC00YzQxLTk5NmEtYjc2M2JmMjE1YTE1, chunk: NGMwZjIxM2YtMGU0Ny00Mzk2LTkxMWItYTgwYzExOGNhMTli.
[2019-02-26T17:37:58Z WARN  poston::emitter] Did not match ack and chunk. ack: NGMwZjIxM2YtMGU0Ny00Mzk2LTkxMWItYTgwYzExOGNhMTli, chunk: OTEwZGM3YzctODMyOC00ZTlkLTg4ZWItZjZmMWY0N2FlNjA2.
[2019-02-26T17:37:58Z WARN  poston::emitter] Did not match ack and chunk. ack: OTEwZGM3YzctODMyOC00ZTlkLTg4ZWItZjZmMWY0N2FlNjA2, chunk: YjkzNzc1MGYtM2MwNi00MTI4LTk1MjItOWYyNjkyYmUzOWFh.
[2019-02-26T17:37:59Z WARN  poston::emitter] Did not match ack and chunk. ack: YjkzNzc1MGYtM2MwNi00MTI4LTk1MjItOWYyNjkyYmUzOWFh, chunk: ZWEzNmZmYzQtMDhiMC00N2IwLThiOTktNzliYzg1ODQ1YjU1.
[2019-02-26T17:38:00Z WARN  poston::emitter] Did not match ack and chunk. ack: ZWEzNmZmYzQtMDhiMC00N2IwLThiOTktNzliYzg1ODQ1YjU1, chunk: NGE1YzdkMjktZTQ3Zi00YTMxLWFkNmYtYzdiYTc2NWQ1MmJk.
[2019-02-26T17:38:01Z WARN  poston::emitter] Did not match ack and chunk. ack: NGE1YzdkMjktZTQ3Zi00YTMxLWFkNmYtYzdiYTc2NWQ1MmJk, chunk: NjM0MWVkYjUtODhjNC00OGQ1LWE3MjYtY2M1MzZjNjFlNzhm.
[2019-02-26T17:38:01Z WARN  poston::emitter] Did not match ack and chunk. ack: NjM0MWVkYjUtODhjNC00OGQ1LWE3MjYtY2M1MzZjNjFlNzhm, chunk: ZDYxMTMzOGMtMWU4NS00Yjc3LWFiODAtNjQxZDhkYzAyYWYz.
[2019-02-26T17:38:03Z WARN  poston::emitter] Did not match ack and chunk. ack: ZDYxMTMzOGMtMWU4NS00Yjc3LWFiODAtNjQxZDhkYzAyYWYz, chunk: NDZhNGE4ZDItN2M3OC00YmVhLTgyYjQtZmM1MWJkNzgyYzc4.
[2019-02-26T17:38:03Z WARN  poston::emitter] Did not match ack and chunk. ack: NDZhNGE4ZDItN2M3OC00YmVhLTgyYjQtZmM1MWJkNzgyYzc4, chunk: YzhhZDJlMzYtMjhjOC00ZWU5LWJhYTAtZjcxZWJiMzcxYjA4.
[2019-02-26T17:38:03Z WARN  poston::emitter] Did not match ack and chunk. ack: YzhhZDJlMzYtMjhjOC00ZWU5LWJhYTAtZjcxZWJiMzcxYjA4, chunk: ZGQ2Mzg0OTktNWFiZC00ODQ2LTliYjktYjdhNjVkYzU1NzA4.
@tkrs tkrs added the bug Something isn't working label Feb 27, 2019
@tkrs
Copy link
Owner Author

tkrs commented Feb 27, 2019

Umm... A sent chunk comes back one response late 🤔

@tkrs
Copy link
Owner Author

tkrs commented Mar 1, 2019

  1. write(): YjQyNzFjMjctNzcyMy00Zjk2LTkwY2QtN2U5YmEwOWRjZGQw
  2. read(): io error: WouldBlock
  3. write(): YjQyNzFjMjctNzcyMy00Zjk2LTkwY2QtN2U5YmEwOWRjZGQw (retry)
  4. read(): NjlkMWIwZDQtZWE4YS00NjU4LTg2NzgtZGJlYmE2NzAxODI1
  5. write(): ZmFjYzhmYmItOTIyNS00ODE2LWFiNmItOTE0N2IwMzMyMTcw
  6. read(): YjQyNzFjMjctNzcyMy00Zjk2LTkwY2QtN2U5YmEwOWRjZGQw

In summary, read() happens return WouldBlock somtimes. I think if read() return WouldBlock, it should be retried to read().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant