2012-07-11 33 views
2

您好我試圖修復一個bug在卡桑德拉打補丁來修復一個bug在卡桑德拉

https://issues.apache.org/jira/browse/CASSANDRA-4432

看到

集成在卡桑德拉#1673最後一個註釋(見 https://builds.apache.org/job/Cassandra/1673/)更改 將System.currentTimeMillis()轉換爲FBUtilities.timestampMicros(),將相關的 更改爲CASSANDRA-4432(修訂版本號:346ac03c29cd1fe763bd01077a5e0c59f12181b3) 結果= ABORTED xedin:File s: src/java/org/apache/cassandra/service/MigrationManager.java

我該如何解決它?

應用補丁?

回答

4

您必須獲取您的Cassandra版本的源代碼,然後通過命令git apply應用此修補程序。

類似的東西應該工作:

git clone http://git-wip-us.apache.org/repos/asf/cassandra.git --branch cassandra-1.1.1 cassandra 
cd cassandra 
wget https://issues.apache.org/jira/secure/attachment/12535872/CASSANDRA-4432.patch 
git apply CASSANDRA-4432.patch