61a81504209e508f84b399d1f5009c176f4f9116 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-08 14:54:27+00:00
fix iteration bug. it would always return hasNext=false if seekTo was called first. fixing this with maybeInit proved difficult, so init is now done in constructor and iterator itself is created lazily.
patch by jbellis; tested by nk11 for CASSANDRA-153
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773017 13f79535-47bb-0310-9956-ffa450edef68
49211d5e927df9cbbd9fd29d978a8143f0f2ab7d | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-04 19:02:23+00:00
change Message body to byte[]. this reveals where there are problems: everything that is using any of the send messages already needs to be doing that or they're broken. the good ones I just unwrap; the broken ones I fixed except for MoveMessage which doesn't even have a byte[] serializer yet, so I left that one broken. writeResponseResolver is the specific case that caused the bug report.
patch by jbellis; reviewed by nk11 for CASSANDRA-120
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@771402 13f79535-47bb-0310-9956-ffa450edef68
e044410ccd3428dd5596df581657de77f5587e1b | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-04 19:02:05+00:00
r/m DataImporter; it's not useful outside of FB
patch by jbellis; reviewed by nk11 for CASSANDRA-120
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@771401 13f79535-47bb-0310-9956-ffa450edef68
bcf4dcc666694b80b4ead2adb4a02486f9078e75 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-04 19:02:01+00:00
refactor HttpConnection to use its own executor instead of abusing MessagingService. This will let us refactor Message body to a byte[].
patch by jbellis; reviewed by nk11 for CASSANDRA-120
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@771400 13f79535-47bb-0310-9956-ffa450edef68
3bc3e4c3352b9c0065c20484e63e6980086dbda1 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-04 19:01:56+00:00
add constructor to DTPE for most commonly used values (single thread, no timeout, LinkedBlockingQueue)
patch by jbellis; reviewed by nk11 for CASSANDRA-120
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@771399 13f79535-47bb-0310-9956-ffa450edef68
ec291721ddeb66c88ba2d86d45ee27de84013e95 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-30 16:09:38+00:00
add string de/serialize code to TokenFactory for ApplicationState's benefit.
patch by jbellis; tested by nk11 and MarkR42 for CASSANDRA-114
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@770307 13f79535-47bb-0310-9956-ffa450edef68