[jira] [Updated] (CASSANDRA-6924) Data Inserted Immediately After Secondary Index Creation is not Indexed
[ https://issues.apache.org/jira/browse/CASSANDRA-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Tunnicliffe updated CASSANDRA-6924: --- Attachment: 6924-2.1.txt Data Inserted Immediately After Secondary Index Creation is not Indexed --- Key: CASSANDRA-6924 URL: https://issues.apache.org/jira/browse/CASSANDRA-6924 Project: Cassandra Issue Type: Bug Components: Core Reporter: Tyler Hobbs Assignee: Sam Tunnicliffe Fix For: 2.0.7 Attachments: 6924-2.1.txt, repro.py The head of the cassandra-1.2 branch (currently 1.2.16-tentative) contains a regression from 1.2.15. Data that is inserted immediately after secondary index creation may never get indexed. You can reproduce the issue with a [pycassa integration test|https://github.com/pycassa/pycassa/blob/master/tests/test_autopacking.py#L793] by running: {noformat} nosetests tests/test_autopacking.py:TestKeyValidators.test_get_indexed_slices {noformat} from the pycassa directory. The operation order goes like this: # create CF # create secondary index # insert data # query secondary index If a short sleep is added in between steps 2 and 3, the data gets indexed and the query is successful. If a sleep is only added in between steps 3 and 4, some of the data is never indexed and the query will return incomplete results. This appears to be the case even if the sleep is relatively long (30s), which makes me think the data may never get indexed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CASSANDRA-6924) Data Inserted Immediately After Secondary Index Creation is not Indexed
[ https://issues.apache.org/jira/browse/CASSANDRA-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-6924: Fix Version/s: (was: 1.2.16) 2.0.7 Data Inserted Immediately After Secondary Index Creation is not Indexed --- Key: CASSANDRA-6924 URL: https://issues.apache.org/jira/browse/CASSANDRA-6924 Project: Cassandra Issue Type: Bug Components: Core Reporter: Tyler Hobbs Fix For: 2.0.7 Attachments: repro.py The head of the cassandra-1.2 branch (currently 1.2.16-tentative) contains a regression from 1.2.15. Data that is inserted immediately after secondary index creation may never get indexed. You can reproduce the issue with a [pycassa integration test|https://github.com/pycassa/pycassa/blob/master/tests/test_autopacking.py#L793] by running: {noformat} nosetests tests/test_autopacking.py:TestKeyValidators.test_get_indexed_slices {noformat} from the pycassa directory. The operation order goes like this: # create CF # create secondary index # insert data # query secondary index If a short sleep is added in between steps 2 and 3, the data gets indexed and the query is successful. If a sleep is only added in between steps 3 and 4, some of the data is never indexed and the query will return incomplete results. This appears to be the case even if the sleep is relatively long (30s), which makes me think the data may never get indexed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CASSANDRA-6924) Data Inserted Immediately After Secondary Index Creation is not Indexed
[ https://issues.apache.org/jira/browse/CASSANDRA-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McGuire updated CASSANDRA-6924: Reproduced In: 2.1 beta1, 2.0.6, 1.2.16 Data Inserted Immediately After Secondary Index Creation is not Indexed --- Key: CASSANDRA-6924 URL: https://issues.apache.org/jira/browse/CASSANDRA-6924 Project: Cassandra Issue Type: Bug Components: Core Reporter: Tyler Hobbs Fix For: 2.0.7 Attachments: repro.py The head of the cassandra-1.2 branch (currently 1.2.16-tentative) contains a regression from 1.2.15. Data that is inserted immediately after secondary index creation may never get indexed. You can reproduce the issue with a [pycassa integration test|https://github.com/pycassa/pycassa/blob/master/tests/test_autopacking.py#L793] by running: {noformat} nosetests tests/test_autopacking.py:TestKeyValidators.test_get_indexed_slices {noformat} from the pycassa directory. The operation order goes like this: # create CF # create secondary index # insert data # query secondary index If a short sleep is added in between steps 2 and 3, the data gets indexed and the query is successful. If a sleep is only added in between steps 3 and 4, some of the data is never indexed and the query will return incomplete results. This appears to be the case even if the sleep is relatively long (30s), which makes me think the data may never get indexed. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (CASSANDRA-6924) Data Inserted Immediately After Secondary Index Creation is not Indexed
[ https://issues.apache.org/jira/browse/CASSANDRA-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tyler Hobbs updated CASSANDRA-6924: --- Attachment: repro.py Attaching a simple python script that reproduces the issue. Data Inserted Immediately After Secondary Index Creation is not Indexed --- Key: CASSANDRA-6924 URL: https://issues.apache.org/jira/browse/CASSANDRA-6924 Project: Cassandra Issue Type: Bug Components: Core Reporter: Tyler Hobbs Fix For: 1.2.16 Attachments: repro.py The head of the cassandra-1.2 branch (currently 1.2.16-tentative) contains a regression from 1.2.15. Data that is inserted immediately after secondary index creation may never get indexed. You can reproduce the issue with a [pycassa integration test|https://github.com/pycassa/pycassa/blob/master/tests/test_autopacking.py#L793] by running: {noformat} nosetests tests/test_autopacking.py:TestKeyValidators.test_get_indexed_slices {noformat} from the pycassa directory. The operation order goes like this: # create CF # create secondary index # insert data # query secondary index If a short sleep is added in between steps 2 and 3, the data gets indexed and the query is successful. If a sleep is only added in between steps 3 and 4, some of the data is never indexed and the query will return incomplete results. This appears to be the case even if the sleep is relatively long (30s), which makes me think the data may never get indexed. -- This message was sent by Atlassian JIRA (v6.2#6252)