cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter van der Velde (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9057) index validation fails for non-indexed column
Date Mon, 08 Jun 2015 11:19:01 GMT

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

Peter van der Velde commented on CASSANDRA-9057:
------------------------------------------------

cqlsh:gstar_tstarchive> describe table blob;

CREATE TABLE blob (
  blobid text,
  counter int,
  block blob,
  PRIMARY KEY (blobid, counter)
) WITH
  bloom_filter_fp_chance=0.010000 AND
  caching='KEYS_ONLY' AND
  comment='' AND
  dclocal_read_repair_chance=0.100000 AND
  gc_grace_seconds=864000 AND
  index_interval=128 AND
  read_repair_chance=0.000000 AND
  replicate_on_write='true' AND
  populate_io_cache_on_flush='false' AND
  default_time_to_live=0 AND
  speculative_retry='99.0PERCENTILE' AND
  memtable_flush_period_in_ms=0 AND
  compaction={'class': 'SizeTieredCompactionStrategy'} AND
  compression={'sstable_compression': 'LZ4Compressor'};

CREATE INDEX blob_counter_idx_1 ON blob (counter);

cqlsh:gstar_tstarchive>

> index validation fails for non-indexed column
> ---------------------------------------------
>
>                 Key: CASSANDRA-9057
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9057
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Carl Yeksigian
>             Fix For: 2.1.6
>
>         Attachments: 9057-2.1-v2.txt, 9057-2.1-v3.txt, 9057-2.1.txt, 9057-trunk.txt
>
>
> On 2.1.3, updates are failing with an InvalidRequestException when an unindexed column
is greater than the maximum allowed for indexed entries.
> {noformat}
> ResponseError: Can't index column value of size 1483409 for index null on local_group_default_T_parsoid_html.data
> {noformat}
> In this case, the update _does_  include a 1483409 byte column value, but it is for a
column that is not indexed, (the single indexed column is < 32 bytes), presumably this
is why {{cfm.getColumnDefinition(cell.name()).getIndexName()}} returns  {{null}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message