atsign-foundation / at_server

The software implementation of Atsign's core technology
https://docs.atsign.com
BSD 3-Clause "New" or "Revised" License
39 stars 13 forks source link

Server can lock up during a large initial monitor response #952

Open gkc opened 1 year ago

gkc commented 1 year ago

Describe the bug

There are additional issues that should be cleaned up while fixing this bug

To Reproduce Steps to reproduce the behavior:

  1. Have @bob send 10,000 notifications to @alice
  2. Have alice client send monitor:0 to @alice secondary
  3. While the 10,000 notifications are being returned, the server will not respond to any other commands.

Expected behavior

VJag commented 1 year ago

Adding @purnimavenkatasubbu to help develop a test suite for this scenario detailed in the ticket

gkc commented 1 year ago

No impl progress during PR47 due to lots of other unplanned work. Moving to PR48. Reducing estimate to 5SP as can reuse several aspects of the fsync implementation.