Skip to content

Instantly share code, notes, and snippets.

@nmmmnu
Created May 20, 2012 12:34
Show Gist options
  • Save nmmmnu/2757963 to your computer and use it in GitHub Desktop.
Save nmmmnu/2757963 to your computer and use it in GitHub Desktop.
cassandra probl reproduction
server1:
[default@DEMO] set x[abc][1] = 5;
Value inserted.
Elapsed time: 1 msec(s).
server2:
[default@DEMO] set x[abc][2] = 6;
Value inserted.
Elapsed time: 5 msec(s).
[default@DEMO] get x[abc];
=> (column=1, value=5, timestamp=1337517148648000)
=> (column=2, value=6, timestamp=1337518934513000)
Returned 2 results.
Elapsed time: 3 msec(s).
[default@DEMO] del x[abc][1];
column removed.
[default@DEMO] get x[abc];
=> (column=2, value=6, timestamp=1337518934513000)
Returned 1 results.
Elapsed time: 2 msec(s).
server1:
[default@DEMO] get x[abc];
Invalid ascii bytes 4fb8eb68
php on server1:
Array
(
[1] => O��h
[2] => 6
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment