Merge branch 'cassandra-1.0' into trunk

This commit is contained in:
Brandon Williams 2012-01-12 10:58:34 -06:00
commit cfd9399dce
3 changed files with 10 additions and 10 deletions

View File

@ -74,6 +74,13 @@ Upgrading
---------
- Nothing specific to 1.0.7, please report to instruction for 1.0.6
Other
-----
- Adds new setstreamthroughput to nodetool to configure streaming
throttling
- Adds JMX property to get/set rpc_timeout_in_ms at runtime
- Allow configuring (per-CF) bloom_filter_fp_chance
1.0.6
=====
@ -88,13 +95,6 @@ Upgrading
setting the right value and then run scrub on the column family.
- Please report to instruction for 1.0.5 if coming from an older version.
Other
-----
- Adds new setstreamthroughput to nodetool to configure streaming
throttling
- Adds JMX property to get/set rpc_timeout_in_ms at runtime
- Allow configuring (per-CF) bloom_filter_fp_chance
1.0.5
=====

View File

@ -179,7 +179,7 @@ public class HintedHandOffManager implements HintedHandOffManagerMBean
{
logger_.info("Deleting any stored hints for " + endpoint);
rm.apply();
hintStore.forceFlush();
hintStore.forceBlockingFlush();
CompactionManager.instance.submitMaximal(hintStore, Integer.MAX_VALUE);
}
catch (Exception e)
@ -359,9 +359,9 @@ public class HintedHandOffManager implements HintedHandOffManagerMBean
if (rowsReplayed > 0)
{
hintStore.forceFlush();
try
{
hintStore.forceBlockingFlush();
CompactionManager.instance.submitMaximal(hintStore, Integer.MAX_VALUE).get();
}
catch (Exception e)

View File

@ -382,7 +382,7 @@ public class SystemTable
QueryFilter filter = QueryFilter.getNamesFilter(decorate(ByteBufferUtil.bytes(table)),
new QueryPath(INDEX_CF),
ByteBufferUtil.bytes(indexName));
return cfs.getColumnFamily(filter) != null;
return ColumnFamilyStore.removeDeleted(cfs.getColumnFamily(filter), Integer.MAX_VALUE) != null;
}
public static void setIndexBuilt(String table, String indexName)