Commit Graph

1739 Commits

Author SHA1 Message Date
Sylvain Lebresne fe6980eb7d Fix version, licences and changelog for 1.0.8 release 2012-02-22 15:10:56 +01:00
Sylvain Lebresne 8413d831d1 Fix short read protection
patch by slebresne; reviewed by driftx for CASSANDRA-3934
2012-02-22 14:21:53 +01:00
paul cannon 44ac7a04e0 cqlsh: look for cqlshlib relative to realpath
patch by thepaul; reviewed by slebresne for CASSANDRA-3767

i.e., the realpath of the cqlsh executable, instead of the path as
called, which could be a symlink. If cqlsh is called via symlink, we are
more likely to find cqlshlib relative to the real location than relative
to the symlink.
2012-02-22 11:38:46 +01:00
paul cannon 1ad1c12829 cqlsh: ignore missing CfDef opts
patch by thepaul; reviewed by slebresne for CASSANDRA-3933

We don't want to try to track every possible CF
option supported by different versions of Cassandra, so if we try
to reference one and it's not in the object at all, that's fine,
don't try to display it.
2012-02-22 11:29:52 +01:00
Sylvain Lebresne f943a6edf2 Remove wait on hint future from writes
patch by slebresne; reviewed by amorton for CASSANDRA-3870
2012-02-22 09:24:43 +01:00
Jonathan Ellis 9ca84786b5 fix race between cleanup and flush on secondary index CFSes
patch by yukim and jbellis for CASSANDRA-3712
2012-02-13 16:30:34 -06:00
Jonathan Ellis c3dc789415 avoid including non-queried nodes in rangeslice read repair
patch by jbellis; reviewed by Vijay for CASSANDRA-3843
2012-02-09 15:33:31 -06:00
Jonathan Ellis 22b8a9725b change snapshot-before-compaction to only snapshot (w/o flush) CFS being compacted
patch by jbellis; reviewed by slebresne for CASSANDRA-3803
2012-02-08 21:52:53 -06:00
Sylvain Lebresne 2187530955 Fix changelog 2012-02-08 15:21:51 +01:00
Sylvain Lebresne 6cb4af7c66 Merge branch 'cassandra-0.8' into cassandra-1.0
Conflicts:
	src/java/org/apache/cassandra/db/filter/QueryFilter.java
2012-02-08 15:21:17 +01:00
Sylvain Lebresne ad80cf4c20 SuperColumn may ignore relevant tombstones
patch by slebresne; reviewed by jbellis for CASSANDRA-3875
2012-02-08 15:08:46 +01:00
Pavel Yaskevich 2216a3dce0 make CLI `show schema` to use output stream directly instead of StringBuilder
patch by Pavel Yaskevich; reviewed by Brandon Williams for CASSANDRA-3842
2012-02-07 23:45:24 +03:00
Pavel Yaskevich 5452883577 fix truncate not to leave behind non-CFS backed secondary indexes
patch by Pavel Yaskevich; reviewed by Jake Luciani for CASSANDRA-3844
2012-02-07 18:00:45 +03:00
Sylvain Lebresne a35f8787cf Add optional socket timeout for streaming
patch by vijay2win; reviewed by slebresne for CASSANDRA-3838
2012-02-05 22:23:51 +01:00
Jonathan Ellis 2d8ef13cce merge from 0.8 2012-02-01 13:11:54 -06:00
Jonathan Ellis 359391fa83 fix thread safety of CommitLog.tablesRecovered
patch by jbellis; reviewed by rbranson for CASSANDRA-3751
2012-02-01 13:10:01 -06:00
Pavel Yaskevich 505e196d43 fix CHANGES.txt 2012-02-01 00:52:10 +02:00
Pavel Yaskevich 6173fa9e34 (Pig) fix CassandraStorage to use correct comparator in Super ColumnFamily case
patch by Pavel Yaskevich; reviewed by Brandon Williams for CASSANDRA-3251
2012-02-01 00:48:26 +02:00
Pavel Yaskevich dbd8ced107 (Pig) fix CassandraStorage to use correct comparator in Super ColumnFamily case
patch by Pavel Yaskevich; reviewed by Brandon Williams for CASSANDRA-3251
2012-02-01 00:39:37 +02:00
Pavel Yaskevich 46adb0db9c show index options in CLI
patch by Pavel Yaskevich; reviewed by Jonathan Ellis for CASSANDRA-3809
2012-01-29 04:14:11 +02:00
Jonathan Ellis b10d5bd705 synchronize BiMap of bootstrapping tokens
patch by Peter Schuller and jbellis for CASSANDRA-3417
2012-01-27 22:21:57 -06:00
Jonathan Ellis 68d4e28d94 Log active compactions in StatusLogger
patch by jbellis; reviewed by slebresne for CASSANDRA-3703
2012-01-26 16:58:47 -06:00
Jonathan Ellis b663210576 Compute more accurate compaction score per level
patch by dbrosius; reviewed by jbellis for CASSANDRA-3790
2012-01-26 01:31:38 -06:00
Jonathan Ellis 5c66bd9d38 Return InvalidRequest when using a keyspace that doesn't exist
patch by jbellis; reviewed by pcannon for CASSANDRA-3764
2012-01-24 18:52:14 -06:00
Jonathan Ellis 341611095a disallow user modification of System keyspace
patch by Dave Brosius; reviewed by jbellis for CASSANDRA-3759
2012-01-24 10:14:49 -06:00
Jonathan Ellis 23026fdf32 update CHANGES 2012-01-21 16:47:54 -06:00
Jonathan Ellis 492d44e158 allow using sstable2json on secondary index data
patch by yukim and jbellis for CASSANDRA-3738
2012-01-20 17:15:17 -06:00
paul cannon 5850178cb9 cqlsh: format output properly, make prettier
most importantly: formats output from queries according to column
storage type, so that e.g. blob data is shown in hex. also formats
timestamp values in a human-readable and cql-readable way, and
shows backslash escapes for text/ascii types when characters can't
be printed. when color is enabled, highlight backslash escapes in
red, so they can easily be distinguished from text that happens to
contain backslashes.

color different types of column data differently: textual data stays
yellow, blob data is red, and other data (types which are shown and
input significantly differently from the byte representation, like
numbers, timestamps, etc) are green.

for static resultsets, add a separator line between header and data
(most helpful for people who don't have colors on). left-justify column
headers instead of right-justifying. for dynamic resultsets, don't
append a final bar separator after the last value.

allow calling into a value renderer/formatter which can make decisions
about output representation and color based on the column type

patch by pcannon; reviewed by jbellis for CASSANDRA-3726
2012-01-20 13:22:38 -06:00
paul cannon 95942f0221 cqlsh: add DESC COLUMNFAMILIES to show cf names
as opposed to DESCRIBE KEYSPACE, which shows all columnfamilies but
includes all their column definitions and options, which is usually a
lot of output.

patch by pcannon; reviewed by jbellis for CASSANDRA-3586
2012-01-19 17:02:36 -06:00
Jonathan Ellis 181022bd56 update CHANGES 2012-01-16 08:42:30 -06:00
Sylvain Lebresne 6a1ed6205c Allow DynamicCompositeType to compare components of different types
patch by slebresne; reviewed by edanuff for CASSANDRA-3625
2012-01-13 08:49:21 +01:00
Brandon Williams 9ecaa2a5c0 update changes for 3733 2012-01-12 11:23:05 -06:00
Brandon Williams 3509f3d35d update changes for 3733 2012-01-12 11:22:23 -06:00
Sylvain Lebresne d10da15526 Fix changelog/news and update version for 1.0.7 release 2012-01-11 09:54:59 +01:00
Sylvain Lebresne 10a8f67783 Avoid < 0 value for pending tasks in leveled compaction
patch by jbellis; reviewed by slebresne for CASSANDRA-3693
2012-01-11 08:54:44 +01:00
Pavel Yaskevich 044eb1edea fix CLI `show schema` command insert of an extra comma in column_metadata
patch by Yuki Morishita; reviewed by Pavel Yaskevich for CASSANDRA-3714
2012-01-10 17:38:31 +00:00
Sylvain Lebresne f64c17e428 Shutdown ParallelCompaction reducer executor after use
patch by jbellis; reviewed by slebresne for CASSANDRA-3711
2012-01-10 09:28:47 +01:00
Sylvain Lebresne 89e54091fd Fix assertionError for CF with gc_grace = 0
patch by slebresne and jbellis for CASSANDRA-3579
2012-01-09 17:56:00 +01:00
Pavel Yaskevich 621bc0cc79 fix for SelectStatement start/end key are not set correctly when a key alias is involved
patch by Pavel Yaskevich; reviewed by Jonathan Ellis for CASSANDRA-3700
2012-01-07 17:34:54 +02:00
Jonathan Ellis ab849a793d use correct list of replicas for LOCAL_QUORUM reads when read repair is disabled
patch by jbellis; reviewed by Vijay for CASSANDRA-3696
2012-01-05 13:48:52 -06:00
Jonathan Ellis 70a350e6e9 use correct list of replicas for LOCAL_QUORUM reads when read repair is disabled
patch by jbellis; reviewed by Vijay for CASSANDRA-3696
2012-01-05 13:06:21 -06:00
Jonathan Ellis 190fb8c8ea dynamic HH page size
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-3624
2012-01-04 10:05:34 -06:00
Sylvain Lebresne 52e671a315 Fix changelog 2012-01-03 16:32:11 +01:00
Jonathan Ellis 7efab48e72 retry failed stream on IOException
patch by yukim; reviewed by jbellis for CASSANDRA-3686
2011-12-30 23:04:43 -06:00
Pavel Yaskevich 76897cdcff (CQL) compaction_strategy_options and compression_parameters for CREATE COLUMNFAMILY statement
patch by Pavel Yaskevich; reviewed by Paul Cannon for CASSANDRA-3374

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1223003 13f79535-47bb-0310-9956-ffa450edef68
2011-12-24 18:35:48 +00:00
T Jake Luciani 3150815d27 Secondary Indexes should report memory consumption
Patch by tjake; reviewed by jbellis for CASSANDRA-3155



git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1222806 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 19:10:54 +00:00
Jonathan Ellis d38aea1433 allow configuring bloom_filter_fp_chance
patch by yukim and jbellis for CASSANDRA-3497

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1222738 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 16:39:01 +00:00
Jonathan Ellis 23e1aa4c04 attempt hint delivery every ten minutes; hint handoff throttle delay default changed to 1ms, from 50
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-3554

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1222467 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 21:34:24 +00:00
Jonathan Ellis fb2bf7bcd3 merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1222441 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 20:43:18 +00:00
Jonathan Ellis 8d6b6f6579 avoid logging (harmless) exception when GC takes < 1ms
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-3656

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@1222440 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 20:42:23 +00:00