35 Patch |
95 Review |
98c267fe9c01223279c8968197acac6df2435467,
f2413f7e34aab3ead05fe16ef3cdbe1c79ca73a4,
c52be53daf74ebe74aec9d9a4658b1b686e3fda3,
77879d5b0633e822371df750e524b400304e65b0,
171e1021fe6849af5575a145a52b40f6bf735ed7,
ac398bd0a755cbd9ba34a99a99351214784f9018,
f62d4ec14c1d1f9cd0571f664e2fe27335d473c1,
c2709044d377ac880edf74748a1ad0688ee1135f,
e202f1f4e0ea7ced94278f4bc9666ea73b67e7d5,
ea10f851ba535b81456ea9ba98e50a4e2c87cf98,
521622a8d1ed7dace4c53035562605af184d44cc,
6c31fd86fa3b7fcae51dbc7a490206e73052ce6f,
8fb1546303791bc1119284fc9f8aed60a6786767,
4b721abdf38cd2ab5dc3e3db311d4d0811eed9df,
533dcad919703e36581bb400cfb07b4f2485abc0,
c4992f48ce9c26ce4fd028240447b4cbe85ecf26,
9164940f41972e3611d1ad38a903ca39562e6feb,
058eef0806ce7f60d3910c7d2c8761fc9dc96132,
cdd8b170628176924c21db1cb6dcbecf4c7f2148,
30b1f5f3d32d3c04b921133435b556bfecfc502a,
edacc67c266fc2bef360356d360f394ea9b46154,
324c3c32a14edbd1e2be1aa539bb49ed47e9fe4c,
8042a4e4415190707a1a3d102aa342fb39e1b659,
93abe8d3e5b61139c994481ad86e1b7d8d6bcd0a,
4a5620dea228470397cea696a75a849050efe03b,
e2a4ea7f7e26489bb7c5a1ce63aecc14caf3b7d6,
478f0bef14fc9cf245307e18e6650b2d0d7b8c63,
0f7e1c30126993be023d4e0992ae32d326fe0642,
d14f8146676d849d669b90e15bedcf8f581059a1,
234d0895ad470c5adef3f071a01ce26efb6580b7,
6be087a80a04ea6a3fd1a6913a0aacb0822c6707,
200d4937fa0d86bc92c17d0da27e53257198f725,
4ed201b99f168e7a71b7bd9236082d1ce7a1a225,
4c76970c4afdb2e6d66830f785fb6d52f7fb9775,
49b45026bda4ca112215e10c91d64ad5868025cc |
03da50d62cc607b154d801b3709b2f6663d86ac5,
fdba4279a0f402603872b36f58fe3c686f691ac4,
f2413f7e34aab3ead05fe16ef3cdbe1c79ca73a4,
c52be53daf74ebe74aec9d9a4658b1b686e3fda3,
77879d5b0633e822371df750e524b400304e65b0,
6f00a24296179b0abc9673c94f76d1e551ebdeab,
171e1021fe6849af5575a145a52b40f6bf735ed7,
ac398bd0a755cbd9ba34a99a99351214784f9018,
f62d4ec14c1d1f9cd0571f664e2fe27335d473c1,
c2709044d377ac880edf74748a1ad0688ee1135f,
e202f1f4e0ea7ced94278f4bc9666ea73b67e7d5,
83cce240bf61efe41c2074b8da4958794f15b123,
183f51dc2167a3ade932413505712543a690315e,
bb32068268a2d6e999a2c13992a09470a3d4f1fc,
e1b622e869e983133fcc8c9eb6de15c5b5c9fafa,
7518f7ce9f012cf5a5bbcf976a1590a1b5531db0,
c1e22db3bf6cd15675b4d5bc119d8b259122ba64,
eeb164e2c031a58a5c1c6c071236037b5f5e7835,
370082fae4899f3cb65862491f8a940d675eee98,
a917588bb26c3007cbde435542bdf6fa1d0c2a64,
e7e3d23d26322973c9d4242ff225185f87b7d7f5,
de8318315f51a1cc5d8d0e7c7535c0290870a742,
1d0cf136f6871730c663db143ada9a9b66034286,
767e0235b0ce6c6cbbf6a1912ba96d3e202e3f40,
c8cb217548173fe7424b92dee438e7b5bc90723a,
d293b77bedb0d196065f6b5a93d086923b6a9114,
6e709a28633813d730170c2d6911b63419c73550,
eb49a18acd7886b33467a71c765534066a73fdcf,
7ea2c96852f1b3f4fceda17a70cb2ccbc95060e7,
5a31842278c1649e9cf1347a1e04f7f741126be6,
d221a417199968c8eda9096a061c35b5adec5784,
00190bf20e8c290adbd4d7ab044be01a13a40775,
1dd5f60422dd53072097ec8f0010c00e4cea9536,
671912ef57e7c0b28b6e7aaf8a511f11a6d2419e,
4a0860e4fe3c1410455f589eaaee836d847d5b9d,
c011c671828401cb82ab0fc96a18ae7fcc5fea18,
a9c6a1e7d6a71f11511f3f0efbd8bc64c2fdd011,
0f2a76bb5b2b5b5ea72124b820221778f5194660,
b3b9cd8d5105f33d4c0dd73d8ad00624bc271b21,
574cb8f549e8aa0514bab5316360e0202c094a14,
fbe6c4a854cdf53ec2df092202375bbc2ee81155,
35ff447ba47fd2318b89488b1c9dfc4cc43dbe57,
88a30f182a23da55084358e052afd962fbb48f3e,
68bd9489b77da56fdbf15a58aaec9bf99c562254,
5e5d8385be8fb1320e90211dc69e9a015dd42a3c,
bf9caf8feb167aedf045008012ae721bcc5cfc78,
dd4f4be2b426361b1c50b784f8e3c6557e765497,
7b6fb2b36c0f2af56cc0d79dd9645b2328fce9fe,
48093358fb9022947592813a6aae43db148847ca,
4d1395e0fa7e96c2540bd2aff00dadaa68b57c34,
7762e06571fc3ab1164c5e45d61e4cd03648a96c,
f5a787af7298e107ea452fe3b188a3da24fb943c,
b54de30a0226daafaa6ecf0257371e6e8c2a0742,
d6c0b0f2596de169186d3584474d8d5a34c3c9de,
013d59fc00d7d241abdf5bc0448ce55425c5f112,
26aefa2f4a04083c42f5338eda24a5bb09ab04ed,
83b203e61e722c16ad5001294c82063f708a5f92,
f2cab86892103a8a20b674592c654329ac009513,
064a59cdb00361c6b92ce098922b87357cae7736,
b516ce8176c4ff90f4f1696aba9315941b67f0d0,
81dd8ee5f6e224c550bdf956e0bec3ec2c92cbee,
682736ee5ebf33ed344abd1c6e04dc408a07bfe6,
5cdc75d7603d1051c9d78d6ee11dd9cd44056f44,
1a66c1069520fc21984a1fe5399ea3c83b04a532,
a116ef72e850b6e6830938003ae34681384a8948,
16306e02de35a171ec3339957dd9146b229ce864,
72e6eea9e4ce1fcf30754534216586bcf9e7b041,
d342288f36c73855db26a7572c54c4ef14210671,
a432e180776ae4efbdc7e1aba6dec411e6fbf854,
d52a1109745a147c5d623f68bd2bcc9735cc286e,
fe3e1a8a097d2f78dfab6644750acefc6860b5b5,
dfa41ec103130c173bcc210396f19c89f993086b,
69bc7e97c8dfac3dc6bd3cbfd7fcb05de8d0aedc,
f2260f107bd2d71aed96e1199edfa5186b8b308f,
8dcf76ab27f9c7ac615fbaf5cd17fdfbd17cb9be,
ebcbeb5af9c988f877951bfd991c8c9b8421b7f3,
9db8da81b7f269e5a8a7f896b751d482847d7082,
bfb2e952204f9879133826305b2b5dfda3e61776,
296e15b63cdb678a12db004e29359eaf8c14c6c5,
ec7f04b4df62b87231d9cacca754a209bd8fcc59,
907d92e21b8ce79e6a224933764e3b7215a94454,
2e9466c3052fb4411139d973b64977824e4a43be,
63a748ccf9ab5192456baca9dd90b4c0cf2a2038,
91afe8b6e9e9f0a808261b72c8532841b871ba45,
ef293c1a6ad591958254f8916814f9ee74cc5ffb,
7b250fa261835dd61c755e35ee2073b8177d81b3,
2ec1b06e5f966f71406ba91863c875b6d66c40e5,
0133ff232f133e1824110ac59f7195fc40355429,
99451c730b8f3939a04283b4ba1c8f8bdb01518f,
39de2d0d3339d6fa9d3247bd77e6289cf0f44bf6,
732695503b8cdb7ea4afc8da5729cb90505caaa2,
a1ef3b5be5be5c35f5f2620cf3b62499f87baa98,
768d2d1493f559db478b0133a25fca34887e6561,
b3d4f4a93d1abb2ad4d5c1eca4cc9d32b05fdc43,
40fa7d4a669e7ef0b57423b25972e503391fca87 |
03da50d62cc607b154d801b3709b2f6663d86ac5 | Author: Jonathan Ellis <jbellis@apache.org>
| 2010-02-11 03:50:40+00:00
mv RecoverManager.doRecovery() -> CommitLog.recover()
patch by jbellis; reviewed by junrao for CASSANDRA-783
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@908831 13f79535-47bb-0310-9956-ffa450edef68
fdba4279a0f402603872b36f58fe3c686f691ac4 | Author: Jonathan Ellis <jbellis@apache.org>
| 2010-02-11 03:49:49+00:00
encapsulate commitlog file operations in CommitLogSegment
patch by jbellis; reviewed by junrao for CASSANDRA-783
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@908830 13f79535-47bb-0310-9956-ffa450edef68
98c267fe9c01223279c8968197acac6df2435467 | Author: Jun Rao <junrao@apache.org>
| 2010-01-08 04:18:20+00:00
TcpReader is slow because of using Exception handling in the normal path; patched by junrao; reviewed by Bradon Williams and jbellis for CASSANDRA-675
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@897089 13f79535-47bb-0310-9956-ffa450edef68
f2413f7e34aab3ead05fe16ef3cdbe1c79ca73a4 | Author: Jun Rao <junrao@apache.org>
| 2009-12-15 22:32:30+00:00
notify neighbors and fix comments; patched by Stu Hood, reviewed by junrao for CASSANDRA-629
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@891043 13f79535-47bb-0310-9956-ffa450edef68
c52be53daf74ebe74aec9d9a4658b1b686e3fda3 | Author: Jun Rao <junrao@apache.org>
| 2009-12-15 22:30:06+00:00
use xor for hash in inner nodes in Merkle tree; patched by Stu Hood, reviewed by junrao for CASSANDRA-629
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@891040 13f79535-47bb-0310-9956-ffa450edef68
77879d5b0633e822371df750e524b400304e65b0 | Author: Jun Rao <junrao@apache.org>
| 2009-12-15 22:28:53+00:00
utility change; patched by Stu Hood, reviewed by junrao for CASSANDRA-629
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@891038 13f79535-47bb-0310-9956-ffa450edef68
6f00a24296179b0abc9673c94f76d1e551ebdeab | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-12-09 05:02:08+00:00
respect memtable thresholds when replaying commit log
patch by jbellis; reviewed by Jun Rao for CASSANDRA-609
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888701 13f79535-47bb-0310-9956-ffa450edef68
171e1021fe6849af5575a145a52b40f6bf735ed7 | Author: Jun Rao <junrao@apache.org>
| 2009-12-05 18:49:12+00:00
add manual repair through NodeProbe; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887576 13f79535-47bb-0310-9956-ffa450edef68
ac398bd0a755cbd9ba34a99a99351214784f9018 | Author: Jun Rao <junrao@apache.org>
| 2009-12-05 18:47:55+00:00
add AntiEntropyService; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887575 13f79535-47bb-0310-9956-ffa450edef68
f62d4ec14c1d1f9cd0571f664e2fe27335d473c1 | Author: Jun Rao <junrao@apache.org>
| 2009-12-05 18:46:52+00:00
preparation for AntiEntropyService; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887574 13f79535-47bb-0310-9956-ffa450edef68
c2709044d377ac880edf74748a1ad0688ee1135f | Author: Jun Rao <junrao@apache.org>
| 2009-12-05 18:44:25+00:00
add Merkle tree; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887573 13f79535-47bb-0310-9956-ffa450edef68
e202f1f4e0ea7ced94278f4bc9666ea73b67e7d5 | Author: Jun Rao <junrao@apache.org>
| 2009-12-05 18:42:26+00:00
preparation for Merkle tree; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887572 13f79535-47bb-0310-9956-ffa450edef68
83cce240bf61efe41c2074b8da4958794f15b123 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-12-03 19:17:03+00:00
Fix not returning live subcolumns of deleted supercolumns
patch by jbellis; reviewed by junrao for CASSANDRA-583
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886886 13f79535-47bb-0310-9956-ffa450edef68
ea10f851ba535b81456ea9ba98e50a4e2c87cf98 | Author: Jun Rao <junrao@apache.org>
| 2009-11-19 22:25:07+00:00
BufferedRandomAccessFile.read doesn't always do full reads; patched by junrao, reviewed by jbellis for CASSANDRA-565
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@882335 13f79535-47bb-0310-9956-ffa450edef68
521622a8d1ed7dace4c53035562605af184d44cc | Author: Jun Rao <junrao@apache.org>
| 2009-11-19 22:22:50+00:00
RingCache code breaks; patch by junrao, reviewed by jbellis for issue 566
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@882334 13f79535-47bb-0310-9956-ffa450edef68
183f51dc2167a3ade932413505712543a690315e | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-11-12 17:03:52+00:00
r/m unused bootstrap directory and ensure streaming files live to be streamed
patch by jbellis; reviewed by Jun Rao for CASSANDRA-538
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@835446 13f79535-47bb-0310-9956-ffa450edef68
6c31fd86fa3b7fcae51dbc7a490206e73052ce6f | Author: Jun Rao <junrao@apache.org>
| 2009-11-06 19:08:07+00:00
trivial change to make stop-server really work
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@833526 13f79535-47bb-0310-9956-ffa450edef68
bb32068268a2d6e999a2c13992a09470a3d4f1fc | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-10-23 03:06:46+00:00
add checks for obviously bogus values read
patch by jbellis; reviewed by junrao for CASSANDRA-466
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@828922 13f79535-47bb-0310-9956-ffa450edef68
e1b622e869e983133fcc8c9eb6de15c5b5c9fafa | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-10-23 03:06:39+00:00
make compaction able to recover from errors w/in a row
patch by jbellis; reviewed by junrao for CASSANDRA-466
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@828921 13f79535-47bb-0310-9956-ffa450edef68
7518f7ce9f012cf5a5bbcf976a1590a1b5531db0 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-10-22 15:41:11+00:00
all rows go through deserialize/removeDeleted so we can GC tombstones.
patch by jbellis; reviewed by junrao for CASSANDRA-507
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@828755 13f79535-47bb-0310-9956-ffa450edef68
c1e22db3bf6cd15675b4d5bc119d8b259122ba64 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-10-20 17:45:29+00:00
Avoid using non-existent supercolumn timestamp in delete op. Better conceptual integrity to delete w/ correct system time anyway.
patch by jbellis; reviewed by junrao for CASSANDRA-491
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@827742 13f79535-47bb-0310-9956-ffa450edef68
eeb164e2c031a58a5c1c6c071236037b5f5e7835 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-10-20 17:45:22+00:00
fix HH of tombstones. patch by jbellis; reviewed by junrao for CASSANDRA-491
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@827741 13f79535-47bb-0310-9956-ffa450edef68
8fb1546303791bc1119284fc9f8aed60a6786767 | Author: Eric Evans <eevans@apache.org>
| 2009-10-07 16:22:08+00:00
CASSANDRA-457 cassandra client with a web-based interface
Patch by Jun Rao, Hernan Badenes, and Michael Greene;
reviewed by eevans for CASSANDRA-457
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@822786 13f79535-47bb-0310-9956-ffa450edef68
370082fae4899f3cb65862491f8a940d675eee98 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-10-02 18:40:35+00:00
fix heisenbug in RecoveryManager2Test where a compaction could add back a new sstable to the "cleared" ColumnFamilyStore
patch by jbellis; reviewed by junrao for CASSANDRA-463
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@821128 13f79535-47bb-0310-9956-ffa450edef68
a917588bb26c3007cbde435542bdf6fa1d0c2a64 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-10-02 18:40:27+00:00
add MemtableFlushAfterMinutes, a global replacement for the old per-CF FlushPeriodInMinutes setting
patch by jbellis; reviewed by junrao for CASSANDRA-463
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@821127 13f79535-47bb-0310-9956-ffa450edef68
e7e3d23d26322973c9d4242ff225185f87b7d7f5 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-10-02 18:40:15+00:00
change instance variables to final where appropriate
patch by jbellis; reviewed by junrao for CASSANDRA-463
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@821126 13f79535-47bb-0310-9956-ffa450edef68
de8318315f51a1cc5d8d0e7c7535c0290870a742 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-09-28 18:45:10+00:00
Replace DebuggableScheduledThreadPoolExecutor with non-Scheduled Executors and Timers. This allows logging exceptions from repeated tasks, which is basically impossible with STPE.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-455
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@819665 13f79535-47bb-0310-9956-ffa450edef68
1d0cf136f6871730c663db143ada9a9b66034286 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-09-24 15:32:21+00:00
remove unused skip argument from anticompaction. change HHM to perform a major compaction instead of anticompaction since that's really what we want there
patch by jbellis; reviewed by junrao for CASSANDRA-454
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@818517 13f79535-47bb-0310-9956-ffa450edef68
767e0235b0ce6c6cbbf6a1912ba96d3e202e3f40 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-09-18 19:02:58+00:00
r/m memtableLock; it is redundant wrt flusherLock
patch by jbellis; reviewed by junrao for CASSANDRA-444
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@816747 13f79535-47bb-0310-9956-ffa450edef68
c8cb217548173fe7424b92dee438e7b5bc90723a | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-09-18 19:02:54+00:00
cleanup; r/m unused code
patch by jbellis; reviewed by junrao for CASSANDRA-444
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@816746 13f79535-47bb-0310-9956-ffa450edef68
d293b77bedb0d196065f6b5a93d086923b6a9114 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-09-18 19:02:49+00:00
serialize row outside of commitlog executor to improve parallelizability
patch by jbellis; reviewed by junrao for CASSANDRA-444
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@816745 13f79535-47bb-0310-9956-ffa450edef68
6e709a28633813d730170c2d6911b63419c73550 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-09-18 19:02:36+00:00
move per-key locking inside Memtable and shard it.
patch by jbellis; reviewed by junrao for CASSANDRA-444
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@816744 13f79535-47bb-0310-9956-ffa450edef68
4b721abdf38cd2ab5dc3e3db311d4d0811eed9df | Author: Jun Rao <junrao@apache.org>
| 2009-09-18 03:20:57+00:00
commitlog may consider writes flushed, that are not yet; patched by junrao; reviewed by jbellis for CASSANDRA-445
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@816453 13f79535-47bb-0310-9956-ffa450edef68
533dcad919703e36581bb400cfb07b4f2485abc0 | Author: Jun Rao <junrao@apache.org>
| 2009-08-31 15:44:42+00:00
Deadlock with SelectorManager.doProcess and TcpConnection.write; patch by Sammy Yu and junrao; reviewed by Chris Goffinet for CASSANDRA-392
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809629 13f79535-47bb-0310-9956-ffa450edef68
c4992f48ce9c26ce4fd028240447b4cbe85ecf26 | Author: Jun Rao <junrao@apache.org>
| 2009-08-24 23:39:27+00:00
Expose ring map to client for more direct access; patch by junrao; reviewed by jbellis for CASSANDRA-197
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807431 13f79535-47bb-0310-9956-ffa450edef68
eb49a18acd7886b33467a71c765534066a73fdcf | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-24 21:48:20+00:00
need to include column container's deletion status when determining whether to include a column in the live count.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-386
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807395 13f79535-47bb-0310-9956-ffa450edef68
7ea2c96852f1b3f4fceda17a70cb2ccbc95060e7 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-11 14:13:47+00:00
add settings for buffer sizes; make unconfigurable ones more sane.
patch by jbellis; reviewed by Jun Rao and Eric Evans for CASSANDRA-355
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803135 13f79535-47bb-0310-9956-ffa450edef68
5a31842278c1649e9cf1347a1e04f7f741126be6 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-10 22:52:08+00:00
check column-level bloom filter during name-based slicing.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-325
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802950 13f79535-47bb-0310-9956-ffa450edef68
d221a417199968c8eda9096a061c35b5adec5784 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-07 16:24:54+00:00
tests + fix for bsearch returning not-found-to-the-right
patch by jbellis; reviewed by Jun Rao for CASSANDRA-351
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802078 13f79535-47bb-0310-9956-ffa450edef68
00190bf20e8c290adbd4d7ab044be01a13a40775 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-07 16:24:41+00:00
inline excessively abstracted reTest setup
patch by jbellis; reviewed by Jun Rao for CASSANDRA-351
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802077 13f79535-47bb-0310-9956-ffa450edef68
1dd5f60422dd53072097ec8f0010c00e4cea9536 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-07 16:24:31+00:00
compact slicelarge row to ensure we are in fact testing with more than the minimum index count
patch by jbellis; reviewed by Jun Rao for CASSANDRA-351
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802076 13f79535-47bb-0310-9956-ffa450edef68
671912ef57e7c0b28b6e7aaf8a511f11a6d2419e | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-07 16:24:25+00:00
final cleanup of SSTableSliceIterator, now with less unnecessary copying of Columns around
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802075 13f79535-47bb-0310-9956-ffa450edef68
4a0860e4fe3c1410455f589eaaee836d847d5b9d | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-07 16:24:17+00:00
avoid copying variables to ColumnGroupReader that it can get from the parent class. rename underscored variables.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802074 13f79535-47bb-0310-9956-ffa450edef68
c011c671828401cb82ab0fc96a18ae7fcc5fea18 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-07 16:24:12+00:00
move comparator out of IndexInfo
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802073 13f79535-47bb-0310-9956-ffa450edef68
a9c6a1e7d6a71f11511f3f0efbd8bc64c2fdd011 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-07 16:24:04+00:00
always write at least one index (with first and last column of the range) for the columns in row. this vastly simplifies column reading code and makes indexing bugs much more obvious (since there is only one read path each for names / slices now).
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802072 13f79535-47bb-0310-9956-ffa450edef68
0f2a76bb5b2b5b5ea72124b820221778f5194660 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-07 16:23:53+00:00
don't serialize unused column count into column index. remove DataInput/Output round-tripping from ColumnGroupReader
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802071 13f79535-47bb-0310-9956-ffa450edef68
b3b9cd8d5105f33d4c0dd73d8ad00624bc271b21 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-08-07 16:23:42+00:00
add test for multi-block reversal.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802070 13f79535-47bb-0310-9956-ffa450edef68
9164940f41972e3611d1ad38a903ca39562e6feb | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-31 15:06:35+00:00
allow start of [] to mean "start with the largest value" when ascending=false. patch by Jun Rao; reviewed by jbellis for CASSANDRA-263
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@799632 13f79535-47bb-0310-9956-ffa450edef68
fbe6c4a854cdf53ec2df092202375bbc2ee81155 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-28 02:46:27+00:00
add config options for commitlog syncing
patch by jbellis; reviewed by Jun Rao for CASSANDRA-182
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798372 13f79535-47bb-0310-9956-ffa450edef68
574cb8f549e8aa0514bab5316360e0202c094a14 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-28 02:46:11+00:00
Use arrayblockingqueue in commitlog executor; this cleans up the code a bit (performance is unaffected since the writes and syncs are far more expensive than any queue ops)
patch by jbellis; reviewed by Jun Rao for CASSANDRA-182
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798373 13f79535-47bb-0310-9956-ffa450edef68
68bd9489b77da56fdbf15a58aaec9bf99c562254 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-28 02:46:02+00:00
naive fsync-after-each-log-entry
patch by jbellis; reviewed by Jun Rao for CASSANDRA-182
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798369 13f79535-47bb-0310-9956-ffa450edef68
35ff447ba47fd2318b89488b1c9dfc4cc43dbe57 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-28 02:45:55+00:00
custom CommitLogExecutorService that can fsync per multiple CL additions
patch by jbellis; reviewed by Jun Rao for CASSANDRA-182
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798371 13f79535-47bb-0310-9956-ffa450edef68
88a30f182a23da55084358e052afd962fbb48f3e | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-28 02:45:50+00:00
move log ops to callables on a threadpoolexecutor instead of synchronizing. this prepares the way to merge multiple add() calls into a single sync.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-182
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798370 13f79535-47bb-0310-9956-ffa450edef68
5e5d8385be8fb1320e90211dc69e9a015dd42a3c | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-28 02:45:40+00:00
mv AbstractWriter to its own top-level class and remove redundant IFileWriter
patch by jbellis; reviewed by Jun Rao for CASSANDRA-182
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798368 13f79535-47bb-0310-9956-ffa450edef68
bf9caf8feb167aedf045008012ae721bcc5cfc78 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-28 02:45:33+00:00
handle incomplete CL entries on recover
patch by jbellis; reviewed by Jun Rao for CASSANDRA-182
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@798367 13f79535-47bb-0310-9956-ffa450edef68
058eef0806ce7f60d3910c7d2c8761fc9dc96132 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-22 21:13:35+00:00
return columns from desc query in desc order. patch by Jun Rao; reviewed by jbellis for CASSANDRA-196
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@796881 13f79535-47bb-0310-9956-ffa450edef68
dd4f4be2b426361b1c50b784f8e3c6557e765497 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-10 17:49:18+00:00
add IdentityQueryFilter and finish removing IFilter.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-287
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@793055 13f79535-47bb-0310-9956-ffa450edef68
7b6fb2b36c0f2af56cc0d79dd9645b2328fce9fe | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-10 17:49:06+00:00
add TimeQueryFilter; remove old TimeFilter.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-287
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@793054 13f79535-47bb-0310-9956-ffa450edef68
48093358fb9022947592813a6aae43db148847ca | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-10 17:49:01+00:00
replace namesfilter with NamesQueryFilter. mv filter code into separate package.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-287
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@793053 13f79535-47bb-0310-9956-ffa450edef68
4d1395e0fa7e96c2540bd2aff00dadaa68b57c34 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-10 17:48:49+00:00
refactor out QueryFilter, SliceQueryFilter.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-287
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@793052 13f79535-47bb-0310-9956-ffa450edef68
7762e06571fc3ab1164c5e45d61e4cd03648a96c | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-10 17:48:45+00:00
rename lock_ -> sstableLock_.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-287
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@793051 13f79535-47bb-0310-9956-ffa450edef68
f5a787af7298e107ea452fe3b188a3da24fb943c | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-10 17:48:41+00:00
r/m unused (and dangerous) RowReadCommand.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-287
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@793050 13f79535-47bb-0310-9956-ffa450edef68
b54de30a0226daafaa6ecf0257371e6e8c2a0742 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-06 19:58:13+00:00
per-table key cache size.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-259
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@791592 13f79535-47bb-0310-9956-ffa450edef68
d6c0b0f2596de169186d3584474d8d5a34c3c9de | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-06 19:58:05+00:00
refactor sstable into SSTable, SSTableReader, and SSTableWriter.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-259
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@791591 13f79535-47bb-0310-9956-ffa450edef68
013d59fc00d7d241abdf5bc0448ce55425c5f112 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-06 19:57:50+00:00
add concurrentlinkedhashmap cache and config option. config option is NOT yet wired up to control cache sizes.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-259
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@791590 13f79535-47bb-0310-9956-ffa450edef68
26aefa2f4a04083c42f5338eda24a5bb09ab04ed | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-06 19:57:44+00:00
encapsulate bloom filter access into sstable.getPosition
patch by jbellis; reviewed by Jun Rao for CASSANDRA-259
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@791589 13f79535-47bb-0310-9956-ffa450edef68
cdd8b170628176924c21db1cb6dcbecf4c7f2148 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-07-06 17:50:16+00:00
add offset support to get_slice. patch by Jun Rao; reviewed by jbellis for CASSANDRA-261
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@791553 13f79535-47bb-0310-9956-ffa450edef68
83b203e61e722c16ad5001294c82063f708a5f92 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-29 22:07:49+00:00
add test catching buggy update of header on flush; refactor so there is only one version of code doing those writes (the correct one).
patch by jbellis; reviewed by Jun Rao for CASSANDRA-264
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@789465 13f79535-47bb-0310-9956-ffa450edef68
f2cab86892103a8a20b674592c654329ac009513 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-29 22:07:41+00:00
don't remove commitlog files when replay fails; you lose the chance to fix a bug, as well as your data.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-264
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@789464 13f79535-47bb-0310-9956-ffa450edef68
81dd8ee5f6e224c550bdf956e0bec3ec2c92cbee | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-24 19:25:33+00:00
use normal Table for system metadata
patch by jbellis; reviewed by Jun Rao for CASSANDRA-235
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@788144 13f79535-47bb-0310-9956-ffa450edef68
064a59cdb00361c6b92ce098922b87357cae7736 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-24 19:25:21+00:00
cleanup CFS.onstart
patch by jbellis; reviewed by Jun Rao for CASSANDRA-235
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@788146 13f79535-47bb-0310-9956-ffa450edef68
b516ce8176c4ff90f4f1696aba9315941b67f0d0 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-24 19:25:17+00:00
DBManager obscures rather than clarifies what is going on. Remove it.
At some point we stopped calling DBManager.instance(), so Table.onStart was
not getting called. Move that into CassandraDaemon so we don't rely on a side
effect to run it.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-235
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@788145 13f79535-47bb-0310-9956-ffa450edef68
682736ee5ebf33ed344abd1c6e04dc408a07bfe6 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-24 19:25:04+00:00
r/m recycle cf and undocumented/incomplete Loader code using it
patch by jbellis; reviewed by Jun Rao for CASSANDRA-235
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@788143 13f79535-47bb-0310-9956-ffa450edef68
5cdc75d7603d1051c9d78d6ee11dd9cd44056f44 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-24 19:24:56+00:00
move Hints cf to SYSTEM_TABLE
patch by jbellis; reviewed by Jun Rao for CASSANDRA-235
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@788142 13f79535-47bb-0310-9956-ffa450edef68
1a66c1069520fc21984a1fe5399ea3c83b04a532 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-22 15:49:57+00:00
more CommitLog cleanup. patch by jbellis; reviewed by Jun Rao for CASSANDRA-243
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@787284 13f79535-47bb-0310-9956-ffa450edef68
a116ef72e850b6e6830938003ae34681384a8948 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-18 11:46:39+00:00
rethrow IOException with more details. patch by jbellis; reviewed by Jun Rao for CASSANDRA-202
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@786025 13f79535-47bb-0310-9956-ffa450edef68
16306e02de35a171ec3339957dd9146b229ce864 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-09 17:46:47+00:00
apply rows atomically, rather than one-column-at-a-time. this avoids exposing the bug in time-sorted
columns discussed in #223.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-208
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@783078 13f79535-47bb-0310-9956-ffa450edef68
72e6eea9e4ce1fcf30754534216586bcf9e7b041 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-09 17:46:42+00:00
split sstable into data, index, and bloom filter files. this allows us to avoid saving up index chunks
in memory until the sstable data is completely written, while still allowing fast scanning of the index
on startup. it also simplifies the sstable/sequencefile code considerably.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-208
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@783077 13f79535-47bb-0310-9956-ffa450edef68
d342288f36c73855db26a7572c54c4ef14210671 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-08 19:45:00+00:00
cleanup SSTable-related code. patch by jbellis; reviewed by Jun Rao for CASSANDRA-208
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@782744 13f79535-47bb-0310-9956-ffa450edef68
30b1f5f3d32d3c04b921133435b556bfecfc502a | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-06-01 22:16:58+00:00
add test covering use of column indexes. patch by Jun Rao; reviewed by jbellis for CASSANDRA-210
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@780853 13f79535-47bb-0310-9956-ffa450edef68
edacc67c266fc2bef360356d360f394ea9b46154 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-27 21:41:04+00:00
remove unnecessary List creation in getSliceFrom and move close() cleanup for to the finally block. patch by Jun Rao; reviewed by jbellis for CASSANDRA-201
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@779322 13f79535-47bb-0310-9956-ffa450edef68
a432e180776ae4efbdc7e1aba6dec411e6fbf854 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-20 14:58:39+00:00
more cleanup of compaction code.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-184
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@776720 13f79535-47bb-0310-9956-ffa450edef68
d52a1109745a147c5d623f68bd2bcc9735cc286e | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-15 21:37:45+00:00
check for enough endpoints before starting a quorum wait.
patch by jbellis; reviewed by Jun Rao and Sandeep Tata for CASSANDRA-180
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@775361 13f79535-47bb-0310-9956-ffa450edef68
324c3c32a14edbd1e2be1aa539bb49ed47e9fe4c | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-15 15:55:35+00:00
allow specifying initial token. patch by Jun Rao; reviewed by jbellis for CASSANDRA-181
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@775203 13f79535-47bb-0310-9956-ffa450edef68
fe3e1a8a097d2f78dfab6644750acefc6860b5b5 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-11 23:48:34+00:00
check for at-end-of-data in iterator init. patch by jbellis; reviewed by Jun Rao for CASSANDRA-153
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773727 13f79535-47bb-0310-9956-ffa450edef68
dfa41ec103130c173bcc210396f19c89f993086b | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-11 23:48:28+00:00
cannonicalize all accesses to indexMetadataMap.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-153
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773726 13f79535-47bb-0310-9956-ffa450edef68
69bc7e97c8dfac3dc6bd3cbfd7fcb05de8d0aedc | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-11 23:48:20+00:00
unit test to expose bug system test is running into. patch by jbellis; reviewed by Jun Rao for CASSANDRA-153
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773725 13f79535-47bb-0310-9956-ffa450edef68
f2260f107bd2d71aed96e1199edfa5186b8b308f | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-08 14:53:25+00:00
add more robust sanity checking of get_column arguments. patch by jbellis; reviewed by Jun Rao for CASSANDRA-151
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773016 13f79535-47bb-0310-9956-ffa450edef68
8042a4e4415190707a1a3d102aa342fb39e1b659 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-06 01:55:51+00:00
allow periodic flushing on a per-CF basis for infrequently-updated CFs (i.e.,
unlikely to reach the memtable size or object count limits often). this will allow
purging old commitlog segments in a more timely fashion.
patch by Jun Rao; reviewed by jbellis for CASSANDRA-134
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@772026 13f79535-47bb-0310-9956-ffa450edef68
8dcf76ab27f9c7ac615fbaf5cd17fdfbd17cb9be | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-05 17:03:25+00:00
tombstones take priority over non-tombstones w/ the same timestamp in supercolumn and column. this makes HH management deterministic.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-34
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@771935 13f79535-47bb-0310-9956-ffa450edef68
93abe8d3e5b61139c994481ad86e1b7d8d6bcd0a | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-03 03:26:07+00:00
make sendMessage only return true after ack by recipient.
patch by Jun Rao; reviewed by jbellis for CASSANDRA-34
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@771019 13f79535-47bb-0310-9956-ffa450edef68
4a5620dea228470397cea696a75a849050efe03b | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-05-01 02:24:10+00:00
avoid raising an exception in SequenceFile.next when a key does not exist (e.g. when bloom filter gives a false positive). patch by Jun Rao; reviewed by jbellis for CASSANDRA-126
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@770517 13f79535-47bb-0310-9956-ffa450edef68
ebcbeb5af9c988f877951bfd991c8c9b8421b7f3 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-30 20:01:31+00:00
close FileStructs after range query. patch by jbellis; reviewed by Jun Rao for CASSANDRA-71
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@770424 13f79535-47bb-0310-9956-ffa450edef68
9db8da81b7f269e5a8a7f896b751d482847d7082 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-29 18:57:35+00:00
Add range query support, which requires using an OrderPreservingPartitioner. (Keys are returned in the order defined by the partitioner collation.) The fundamental approach (in table.getKeyRange) is simple: create a CollatedIterator that will return unique keys from different sources, each of which is already sorted. Then we just need Iterators for different key sources. For SSTables, this means adding seekTo and an Iterator interface to FileStruct. For Memtable, this means adding a DestructivePQIterator since unlike SSTable keys those are not inherently ordered already. This means that we only do M log N work sorting the memtable keys where M is the number of keys we actually read, and N is the total number of keys, where a naive sort-everything-first iterator would be N log N.
This does not yet implement range queries spanning multiple nodes.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-71
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@769874 13f79535-47bb-0310-9956-ffa450edef68
bfb2e952204f9879133826305b2b5dfda3e61776 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-27 15:01:51+00:00
rename getDefaultToken -> getInitialToken
patch by jbellis; reviewed by Jun Rao for CASSANDRA-65
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@769019 13f79535-47bb-0310-9956-ffa450edef68
296e15b63cdb678a12db004e29359eaf8c14c6c5 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-27 15:01:42+00:00
add test for ReplicaPlacementStrategy covering both Random and OrderPreserving partitioners
patch by jbellis; reviewed by Jun Rao for CASSANDRA-65
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@769018 13f79535-47bb-0310-9956-ffa450edef68
ec7f04b4df62b87231d9cacca754a209bd8fcc59 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-27 15:01:36+00:00
r/m StorageService.token in favor of explicitly passing a Partitioner object. this allows testing of components independent of the static SS.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-65
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@769017 13f79535-47bb-0310-9956-ffa450edef68
907d92e21b8ce79e6a224933764e3b7215a94454 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-27 15:01:29+00:00
replace BigInteger tokens with BigIntegerToken and StringToken in RandomPartitioner and OrderPreservingPartitioner, respectively. (OrderPreservingHashPartitioner is no more.)
Doing order preserving partitioning based on the raw string has a number of compelling advantages:
- there is no key length that all tokens must be padded to (which can be expensive if there is a range of key lengths) and which cannot be increased after deployment
- it allows user-defined collations [sorting] rather than being limited to sorting by code point value (which is useless in the unicode world, and not always what you want even for ascii keys)
- it will work with all UTF-16 characters, not just the UCS-2 subset (this is a limitation of using as a base 2**16, i.e., assuming for your order preserving hash that all characters are two bytes).
patch by jbellis; reviewed by Jun Rao for CASSANDRA-65
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@769016 13f79535-47bb-0310-9956-ffa450edef68
2e9466c3052fb4411139d973b64977824e4a43be | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-27 15:01:17+00:00
clean up partition strategies; in particular, implement getStorageEndPoints(String[] keys) in terms of getStorageEndPoints(BigInteger token), instead of copy/pasting code
patch by jbellis; reviewed by Jun Rao for CASSANDRA-65
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@769015 13f79535-47bb-0310-9956-ffa450edef68
63a748ccf9ab5192456baca9dd90b4c0cf2a2038 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-27 15:01:13+00:00
r/m unused code
patch by jbellis; reviewed by Jun Rao for CASSANDRA-65
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@769014 13f79535-47bb-0310-9956-ffa450edef68
91afe8b6e9e9f0a808261b72c8532841b871ba45 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-27 15:01:08+00:00
move *Partitioner from cassandra.service to cassandra.dht.
patch by jbellis; reviewed by Jun Rao for CASSANDRA-65
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@769013 13f79535-47bb-0310-9956-ffa450edef68
e2a4ea7f7e26489bb7c5a1ce63aecc14caf3b7d6 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-25 15:46:19+00:00
split ReadCommand into separate classes for each type of command. patch by Jun Rao; reviewed by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@768553 13f79535-47bb-0310-9956-ffa450edef68
ef293c1a6ad591958254f8916814f9ee74cc5ffb | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-24 17:52:25+00:00
return empty lists instead of raising an error where applicable; otherwise, use
NotFoundError instead of CassandraException. rely on THRIFT-378 to report internal errors.
also, add field numbers to work around thrift bug generating python code.
patch by jbellis; reviewed by Jun Rao for #66
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@768382 13f79535-47bb-0310-9956-ffa450edef68
7b250fa261835dd61c755e35ee2073b8177d81b3 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-24 17:52:07+00:00
move CF checking into CassandraServer. begin to expose InvalidRequestException. r/m unused "del" cfmaps from batch methods.
patch by jbellis; reviewed by Jun Rao for #66
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@768381 13f79535-47bb-0310-9956-ffa450edef68
2ec1b06e5f966f71406ba91863c875b6d66c40e5 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-24 00:46:32+00:00
use resolve (moved to CF from CFS) rather than duplicating code in repair to do the
same thing. this automatically gets us most of the way to handling tombstones in
read repair. the rest is minor tweaks to CF.diff and SC.diff. added tests.
patch by jbellis; reviewed by Jun Rao for #87.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@768109 13f79535-47bb-0310-9956-ffa450edef68
0133ff232f133e1824110ac59f7195fc40355429 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-24 00:46:19+00:00
clean up Read Repair code to use non-deprecated APIs.
patch by jbellis; reviewed by Jun Rao for #87.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@768108 13f79535-47bb-0310-9956-ffa450edef68
99451c730b8f3939a04283b4ba1c8f8bdb01518f | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-22 18:40:36+00:00
replace ArrayList w/ ArrayDeque.
patch by jbellis; reviewed by Jun Rao for #14
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@767610 13f79535-47bb-0310-9956-ffa450edef68
478f0bef14fc9cf245307e18e6650b2d0d7b8c63 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-21 22:18:08+00:00
RVH should use RC.getRow for correctness and maintainability (in particular the path for get_columns_since was missing). patch by Jun Rao; reviewed by jbellis for #93
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@767315 13f79535-47bb-0310-9956-ffa450edef68
0f7e1c30126993be023d4e0992ae32d326fe0642 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-21 22:14:36+00:00
raise exception when column is not passed to get_column. patch by Jun Rao; reviewed by jbellis for #92
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@767314 13f79535-47bb-0310-9956-ffa450edef68
d14f8146676d849d669b90e15bedcf8f581059a1 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-21 02:58:49+00:00
test and fix get_column regression. patch by Jun Rao; reviewed by jbellis for #90
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@766960 13f79535-47bb-0310-9956-ffa450edef68
234d0895ad470c5adef3f071a01ce26efb6580b7 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-20 16:38:32+00:00
fix row size "returned" via bufOut (currently ignored). patch by Jun Rao; reviewed by jbellis for #33
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@766744 13f79535-47bb-0310-9956-ffa450edef68
6be087a80a04ea6a3fd1a6913a0aacb0822c6707 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-18 01:33:24+00:00
fix SequenceFile to know about new int in CF serialization. patch by Jun Rao; reviewed by jbellis for #33
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@766199 13f79535-47bb-0310-9956-ffa450edef68
200d4937fa0d86bc92c17d0da27e53257198f725 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-17 20:08:17+00:00
test and fix for CF clone bug during remove. patch by Jun Rao; reviewed by jbellis for #33
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@766135 13f79535-47bb-0310-9956-ffa450edef68
4ed201b99f168e7a71b7bd9236082d1ce7a1a225 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-16 17:47:25+00:00
r/m libfb303 as a dependency. (this completes the process begun by Prashant earlier.) patch by Jun Rao; reviewed by jbellis for #86
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@765703 13f79535-47bb-0310-9956-ffa450edef68
39de2d0d3339d6fa9d3247bd77e6289cf0f44bf6 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-16 16:23:20+00:00
expose redone remove to thrift. patch by jbellis; reviewed by Jun Rao for #83
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@765680 13f79535-47bb-0310-9956-ffa450edef68
4c76970c4afdb2e6d66830f785fb6d52f7fb9775 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-15 00:22:13+00:00
fix ColumnComparatorFactoryTest. patch by Jun Rao; reviewed by jbellis for #82
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@765020 13f79535-47bb-0310-9956-ffa450edef68
49b45026bda4ca112215e10c91d64ad5868025cc | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-14 15:52:49+00:00
RangeFilter that filters by column name so that min <= name <= max. patch by Jun Rao; reviewed by Todd Lipcon for #77
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@764848 13f79535-47bb-0310-9956-ffa450edef68
732695503b8cdb7ea4afc8da5729cb90505caaa2 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-14 05:12:44+00:00
fix compaction regression. patch by jbellis; reviewed by Todd Lipcon and Jun Rao
for #80.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@764679 13f79535-47bb-0310-9956-ffa450edef68
a1ef3b5be5be5c35f5f2620cf3b62499f87baa98 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-14 05:12:42+00:00
add compaction test showing regression. patch by jbellis; reviewed by Todd Lipcon
and Jun Rao for #80.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@764678 13f79535-47bb-0310-9956-ffa450edef68
768d2d1493f559db478b0133a25fca34887e6561 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-09 21:40:49+00:00
Clean up FileStruct API and fix key decoration bug in anticompaction. patch by jbellis; reviewed by Jun Rao for #67
Also fix calls to isKeyInRanges in anticompaction.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@763820 13f79535-47bb-0310-9956-ffa450edef68
b3d4f4a93d1abb2ad4d5c1eca4cc9d32b05fdc43 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-07 19:17:54+00:00
add log4j.properties for testing; output is to build/test/logs/system.log. patch by jbellis; reviewed by Jun Rao for #64
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@762913 13f79535-47bb-0310-9956-ffa450edef68
40fa7d4a669e7ef0b57423b25972e503391fca87 | Author: Jonathan Ellis <jbellis@apache.org>
| 2009-04-07 16:55:30+00:00
consolidate partition behavior in IPartitioner, so creating a new partitioner should be only a matter of implementing that interface. all the external switch statements on PartitionerType have been folded into that.
SSTable is now the only part of the code that cares about the distinction between a 'raw' key and a 'decorated' key. variables in that class have been named clientKey or decoratedKey to show which is which. others don't care either because they only deal with decorated keys (SequenceFile, FileStruct) or only with client keys (everyone else).
patch by jbellis; reviewed by Jun Rao for #58
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@762848 13f79535-47bb-0310-9956-ffa450edef68