{"action":"opened","issue":{"url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/181","repository_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index","labels_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/181/comments","events_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/181/events","html_url":"https://github.com/Stratio/cassandra-lucene-index/issues/181","id":171554531,"number":181,"title":"UPDATE with super long value with lucene index failure","user":{"login":"wanghong230","id":2680725,"avatar_url":"https://avatars.githubusercontent.com/u/2680725?v=3","gravatar_id":"","url":"https://api.github.com/users/wanghong230","html_url":"https://github.com/wanghong230","followers_url":"https://api.github.com/users/wanghong230/followers","following_url":"https://api.github.com/users/wanghong230/following{/other_user}","gists_url":"https://api.github.com/users/wanghong230/gists{/gist_id}","starred_url":"https://api.github.com/users/wanghong230/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wanghong230/subscriptions","organizations_url":"https://api.github.com/users/wanghong230/orgs","repos_url":"https://api.github.com/users/wanghong230/repos","events_url":"https://api.github.com/users/wanghong230/events{/privacy}","received_events_url":"https://api.github.com/users/wanghong230/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-17T01:28:02Z","updated_at":"2016-08-17T01:28:02Z","closed_at":null,"body":"ID                     : c0e0c62b-7d8f-4441-9c74-14b85261ca73                                                                                                                                                                                                                                                                                                       \r\nGossip active          : true                                                                                                                                                                                                                                                                                                                                       \r\nThrift active          : false                                                                                                                                                                                                                                                                                                                                      \r\nNative Transport active: true                                                                                                                                                                                                                                                                                                                                       \r\nLoad                   : 22.21 MiB                                                                                                                                                                                                                                                                                                                                  \r\nGeneration No          : 1471318753                                                                                                                                                                                                                                                                                                                                 \r\nUptime (seconds)       : 78373                                                                                                                                                                                                                                                                                                                                      \r\nHeap Memory (MB)       : 290.17 / 1004.00                                                                                                                                                                                                                                                                                                                           \r\nOff Heap Memory (MB)   : 0.01                                                                                                                                                                                                                                                                                                                                       \r\nData Center            : datacenter1                                                                                                                                                                                                                                                                                                                                \r\nRack                   : rack1                                                                                                                                                                                                                                                                                                                                      \r\nExceptions             : 3                                                                                                                                                                                                                                                                                                                                          \r\nKey Cache              : entries 57, size 62.2 KiB, capacity 50 MiB, 12569 hits, 12789 requests, 0.983 recent hit rate, 14400 save period in seconds                                                                                                                                                                                                                \r\nRow Cache              : entries 0, size 0 bytes, capacity 0 bytes, 0 hits, 0 requests, NaN recent hit rate, 0 save period in seconds                                                                                                                                                                                                                               \r\nCounter Cache          : entries 0, size 0 bytes, capacity 25 MiB, 0 hits, 0 requests, NaN recent hit rate, 7200 save period in seconds                                                                                                                                                                                                                             \r\nChunk Cache            : entries 59, size 3.69 MiB, capacity 219 MiB, 480 misses, 14259 requests, 0.966 recent hit rate, 75.400 microseconds miss latency                                                                                                                                                                                                           \r\nToken                  : (invoke with -T/--tokens to see all 256 tokens)     \r\n\r\n\r\nSchema:\r\n\r\nCREATE TABLE axdb.tweets (                                                                                                                                                                                                                                                                                                                                          \r\n    id int PRIMARY KEY,                                                                                                                                                                                                                                                                                                                                             \r\n    user text                                                                                                                                                                                                                                                                                                                                                       \r\n) WITH bloom_filter_fp_chance = 0.01                                                                                                                                                                                                                                                                                                                                \r\n    AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}                                                                                                                                                                                                                                                                                                     \r\n    AND comment = ''                                                                                                                                                                                                                                                                                                                                                \r\n    AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}                                                                                                                                                                                                                      \r\n    AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}                                                                                                                                                                                                                                                       \r\n    AND crc_check_chance = 1.0                                                                                                                                                                                                                                                                                                                                      \r\n    AND dclocal_read_repair_chance = 0.1                                                                                                                                                                                                                                                                                                                            \r\n    AND default_time_to_live = 0                                                                                                                                                                                                                                                                                                                                    \r\n    AND gc_grace_seconds = 864000                                                                                                                                                                                                                                                                                                                                   \r\n    AND max_index_interval = 2048                                                                                                                                                                                                                                                                                                                                   \r\n    AND memtable_flush_period_in_ms = 0                                                                                                                                                                                                                                                                                                                             \r\n    AND min_index_interval = 128                                                                                                                                                                                                                                                                                                                                    \r\n    AND read_repair_chance = 0.0                                                                                                                                                                                                                                                                                                                                    \r\n    AND speculative_retry = '99PERCENTILE';                                                                                                                                                                                                                                                                                                                         \r\nCREATE CUSTOM INDEX tweets_index ON axdb.tweets () USING 'com.stratio.cassandra.lucene.Index' WITH OPTIONS = {'refresh_seconds': '1', 'schema': '{                                                                                                                                                                                                                  \r\nfields : {                                                                                                                                                                                                                                                                                                                                                          \r\nuser : {type : \"string\"}                                                                                                                                                                                                                                                                                                                                            \r\n}                                                                                                                                                                                                                                                                                                                                                                   \r\n}'};  \r\n\r\nUPDATE query:\r\n\r\nUPDATE tweets SET user = 'a repeat 66K times' where id = 1;\r\n\r\n\r\nUPDATE failed with failure:\r\ncqlsh:axdb><aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' where id = 1;                                                                                                               \r\nWriteFailure: code=1500 [Replica(s) failed to execute write] message=\"Operation failed - received 0 responses and 1 failures\" info={'failures': 1, 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'}  \r\n\r\n\r\nAfter drop the lucene index, the UPDATE query is fine.                                                                                                                                                                                                                                                                                                                                                             \r\n\r\nIt is a single node deployment. The db is pretty emtpy."}}
{"actor":{"display_login":"wanghong230"}}