fred icon indicating copy to clipboard operation
fred copied to clipboard

SSK inserts: commit before reply and collisions

Open toad opened this issue 9 years ago • 8 comments

For review and careful testing. Two changes:

  1. Always commit before sending InsertReply, just like we do in CHKInsertHandler (this is IMHO needed for consistency but it's also relevant to bug #3338, see the big comment).
  2. Fix collisions not working correctly in some corner cases / race conditions.

toad avatar Jan 17 '16 20:01 toad

I would like this to be merged eventually. But it needs testing first, including in vitro. I will try it out in simulations...

toad avatar Jan 17 '16 20:01 toad

One thing that needs careful testing is whether this results in more forced disconnections. :(

toad avatar Jan 17 '16 20:01 toad

So far this works fine in one-request-at-a-time simulations. It will need testing more widely. This pull request is not urgent.

toad avatar Jan 17 '16 21:01 toad

Works fine in sequential simulations. Haven't tested more widely yet.

toad avatar Jan 26 '16 19:01 toad

Except for some formatting issues this looks reasonable.

bertm avatar Jan 31 '16 15:01 bertm

I'm afraid I'm likely to ignore complaints that amount to "don't use Eclipse". :(

toad avatar Jan 31 '16 17:01 toad

On Jan 31, 2016 12:39 PM, "Matthew Toseland" [email protected] wrote:

I'm afraid I'm likely to ignore complaints that amount to "don't use Eclipse". :(

Whatever happened to formatting the code base en masse?

Reply to this email directly or view it on GitHub.

Juiceman avatar Jan 31 '16 20:01 Juiceman

Automatic formatting isn't viable when there's a lot of existing code we still want to merge, which is currently the case for Fred.

On Sun, Jan 31, 2016, 3:49 PM Juiceman [email protected] wrote:

On Jan 31, 2016 12:39 PM, "Matthew Toseland" [email protected] wrote:

I'm afraid I'm likely to ignore complaints that amount to "don't use Eclipse". :(

Whatever happened to formatting the code base en masse?

Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/freenet/fred/pull/485#issuecomment-177606641.

Thynix avatar Feb 01 '16 00:02 Thynix