[ 
https://issues.apache.org/jira/browse/CASSANDRA-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745826#action_12745826
 ] 

Evan Weaver commented on CASSANDRA-386:
---------------------------------------

Doesn't apply to git checkout:

100%[=============================================================================================================================>]
 6,902       --.-K/s   in 0.05s   

2009-08-20 23:26:18 (128 KB/s) - `-' saved [6902/6902]

patching file src/java/org/apache/cassandra/db/Column.java
patching file src/java/org/apache/cassandra/db/IColumn.java
patching file src/java/org/apache/cassandra/db/IColumnContainer.java
patching file src/java/org/apache/cassandra/db/SuperColumn.java
patching file src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java
patching file test/system/test_server.py
[trunk]: created 8319a20: "Applied patch: 
"http://issues.apache.org/jira/secure/attachment/12417199/386.patch"";
 6 files changed, 57 insertions(+), 5 deletions(-)
Building Cassandra
Buildfile: build.xml

build-subprojects:

init:
    [mkdir] Created dir: /Users/eweaver/cassandra/server/build/classes
    [mkdir] Created dir: /Users/eweaver/cassandra/server/build/test/classes
    [mkdir] Created dir: /Users/eweaver/cassandra/server/src/gen-java

check-gen-cli-grammar:

gen-cli-grammar:
     [echo] Building Grammar 
/Users/eweaver/cassandra/server/src/java/org/apache/cassandra/cli/Cli.g  ....

build-project:
     [echo] apache-cassandra-incubating: 
/Users/eweaver/cassandra/server/build.xml
    [javac] Compiling 257 source files to 
/Users/eweaver/cassandra/server/build/classes
    [javac] 
/Users/eweaver/cassandra/server/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java:113:
 '(' expected
    [javac]             if 
    [javac]               ^
    [javac] 
/Users/eweaver/cassandra/server/src/java/org/apache/cassandra/db/filter/SliceQueryFilter.java:114:
 ')' expected
    [javac]             logger.debug("collecting " + 
column.getString(comparator));
    [javac]                                                                     
  ^
    [javac] 2 errors

BUILD FAILED
/Users/eweaver/cassandra/server/build.xml:119: Compile failed; see the compiler 
error output for details.



> CompareWith="LongType" CF mis-applies tombstones
> ------------------------------------------------
>
>                 Key: CASSANDRA-386
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-386
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.4
>            Reporter: Evan Weaver
>         Attachments: 386.patch
>
>
> jbellis: what is "mis applying?"
> evn: later inserts have no effect
> jbellis: so you do a remove with timestamp X, then timestamp X + 1 has no 
> effect?
> evn: yeah
> jbellis: did you try a similar test w/ a ascii comparewith?
> evn: well the identical test passes w/ TimeUUIDType
>       <Keyspace Name="MultiblogLong">      
>         <KeysCachedFraction>0.01</KeysCachedFraction>
>         <ColumnFamily CompareWith="LongType" Name="Blogs"/>
>         <ColumnFamily CompareWith="LongType" Name="Comments"/>
>       </Keyspace>
> $ ruby test/cassandra_test.rb -n test_get_first_long_column
> insert at 1250740275826063
> .
> 1 tests, 3 assertions, 0 failures, 0 errors
> $ ruby test/cassandra_test.rb -n test_get_first_long_column
> remove at 1250740278998607
> insert at 1250740279011751
> F
>   1) Failure:
> test_get_first_long_column(CassandraTest) [test/cassandra_test.rb:70]:
> <{<Cassandra::Long#13703350 time: Tue Jul 14 00:20:16 -0400 1970, usecs: 0, 
> jitter: 3626>=>
>   "I like this cat"}> expected but was
> <{}>.
> 1 tests, 1 assertions, 1 failures, 0 errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to