我正在阅读http://www.beyondthelines.net/databases/cassandra-tombstones/,其中
apdu-processor
产生突变
INSERT INTO movements (
id,
address,
item_id,
quantity,
username
) VALUES (
103,
'D3-DJ-21-B-02',
'3600029145',
2,
null
);
和
[
{
"partition" : {
"key" : [ "103" ],
"position" : 0
},
"rows" : [
{
"type" : "row",
"position" : 18,
"liveness_info" : { "tstamp" : "2017-01-27T15:09:50.065224Z" },
"cells" : [
{ "name" : "address", "value" : "D3-DJ-21-B-02" },
{ "name" : "item_d", "value" : "3600029145" },
{ "name" : "quantity", "value" : "2" },
{ "name" : "username", "deletion_info" : { "local_delete_time" : "2017-01-27T15:09:50Z" }
]
}
]
}
]
产生突变
INSERT INTO locations (
address,
status,
properties
) VALUES (
'D3-DJ-21-B-02',
'damaged',
null
);
为什么第二个突变的墓碑包含[
{
"partition" : {
"key" : [ "D3-DJ-21-B-02" ],
"position" : 0
},
"rows" : [
{
"type" : "row",
"position" : 18,
"liveness_info" : { "tstamp" : "2017-01-28T11:58:59.160898Z" },
"cells" : [
{ "name" : "status", "value" : "damaged" },
{ "name" : "properties", "deletion_info" : { "marked_deleted" : "2017-01-28T11:58:59.160897Z", "local_delete_time" : "2017-01-28T11:58:59Z" } }
]
}
]
}
]
属性,而第一个删除的墓碑没有?