Hopefull I wrote my sql right this time... guess the syntax of sqlite is more like mysql
Printlns for debug
Hopefull fixed the invalid key exception, not sure about the null pointer
More debug stuff
Fixed a bug, don't know if it is the right one
I should really make a different branch for all of this debug stuff... or stop being lazy and just use the debugger :P
We were connecting to ourselves and then removing ourselves from the known nodes
Probably my final attempt of the night... I will pick up in the morning
changed the type of tcpLinkTable in NetworkInterface to Map<InetAddress, SocketChannel>. I'm not sure why I thought equality was wrong with the InetAddress classq
Changed pendingWrites to have type Map<InetAddress, BlockingQueue<ByteBuffer>>. Having a SocketChannel as a key could lead to bad things if that socket channel had since been replaced by a new connection to the same node. Similarly, changed the ChangeRequest class to not keep a reference to the socket channel.
changed bootstrap nodes to point to one of the bottom 3
simplified network interface a bit
simplification bug fix
more simplification fix
one more
make me bootstrap
rewrite ls manager code
added de-dupe in accept/connect
change bootstrap node
only connect to lower address