mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-1.2' into trunk
This commit is contained in:
commit
b06c45a96d
|
|
@ -47,6 +47,7 @@ Merged from 1.1:
|
|||
* nodetool: ability to repair specific range (CASSANDRA-5280)
|
||||
* Fix possible assertion triggered in SliceFromReadCommand (CASSANDRA-5284)
|
||||
* cqlsh: Add inet type support on Windows (ipv4-only) (CASSANDRA-4801)
|
||||
* Fix race when initializing ColumnFamilyStore (CASSANDRA-5350)
|
||||
|
||||
|
||||
1.2.2
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
<property name="debuglevel" value="source,lines,vars"/>
|
||||
|
||||
<!-- default version and SCM information -->
|
||||
<property name="base.version" value="1.2.2"/>
|
||||
<property name="base.version" value="1.2.3"/>
|
||||
<property name="scm.connection" value="scm:git://git.apache.org/cassandra.git"/>
|
||||
<property name="scm.developerConnection" value="scm:git://git.apache.org/cassandra.git"/>
|
||||
<property name="scm.url" value="http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=tree"/>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
cassandra (1.2.3) unstable; urgency=low
|
||||
|
||||
* New release
|
||||
|
||||
-- Sylvain Lebresne <selebresne@apache.org> Thu, 14 Mar 2013 09:52:16 +0100
|
||||
|
||||
cassandra (1.2.2) unstable; urgency=low
|
||||
|
||||
* New release
|
||||
|
|
|
|||
|
|
@ -83,12 +83,6 @@ public class ColumnFamilyStore implements ColumnFamilyStoreMBean
|
|||
|
||||
public static final ExecutorService postFlushExecutor = new JMXEnabledThreadPoolExecutor("MemtablePostFlusher");
|
||||
|
||||
static
|
||||
{
|
||||
// (can block if flush queue fills up, so don't put on scheduledTasks)
|
||||
StorageService.optionalTasks.scheduleWithFixedDelay(new MeteredFlusher(), 1000, 1000, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
|
||||
public final Table table;
|
||||
public final String name;
|
||||
public final CFMetaData metadata;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import org.slf4j.LoggerFactory;
|
|||
|
||||
import org.apache.cassandra.config.DatabaseDescriptor;
|
||||
|
||||
class MeteredFlusher implements Runnable
|
||||
public class MeteredFlusher implements Runnable
|
||||
{
|
||||
private static final Logger logger = LoggerFactory.getLogger(MeteredFlusher.class);
|
||||
|
||||
|
|
|
|||
|
|
@ -326,6 +326,9 @@ public class CassandraDaemon
|
|||
};
|
||||
StorageService.optionalTasks.schedule(runnable, 5 * 60, TimeUnit.SECONDS);
|
||||
|
||||
// MeteredFlusher can block if flush queue fills up, so don't put on scheduledTasks
|
||||
StorageService.optionalTasks.scheduleWithFixedDelay(new MeteredFlusher(), 1000, 1000, TimeUnit.MILLISECONDS);
|
||||
|
||||
SystemTable.finishStartup();
|
||||
|
||||
// start server internals
|
||||
|
|
|
|||
|
|
@ -1,4 +1,25 @@
|
|||
package org.apache.cassandra;
|
||||
/*
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.runners.model.FrameworkMethod;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,25 @@
|
|||
package org.apache.cassandra;
|
||||
/*
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
import org.junit.runners.BlockJUnit4ClassRunner;
|
||||
import org.junit.runners.model.FrameworkMethod;
|
||||
|
|
@ -31,4 +52,4 @@ public class OrderedJUnit4ClassRunner extends BlockJUnit4ClassRunner
|
|||
return list;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue