Tom van der Woerdt created CASSANDRA-11545:
----------------------------------------------

             Summary: integer overflow in AbstractQueryPager and friends
                 Key: CASSANDRA-11545
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11545
             Project: Cassandra
          Issue Type: Bug
          Components: Compaction
            Reporter: Tom van der Woerdt


While bootstrapping a new node into an existing cluster we seem to have 
encountered an integer overflow (note the "remaining rows" counters) :

{noformat}
DEBUG [CompactionExecutor:30] 2016-04-11 12:11:58,810 SliceQueryPager.java:92 - 
Querying next page of slice query; new filter: SliceQueryFilter 
[reversed=false, slices=[[, ]], count=10000, toGroup = -1]
DEBUG [CompactionExecutor:29] 2016-04-11 12:11:58,810 
AbstractQueryPager.java:112 - Got result (15) smaller than page size (10000), 
considering pager exhausted
DEBUG [CompactionExecutor:29] 2016-04-11 12:11:58,810 
AbstractQueryPager.java:133 - Remaining rows to page: 2147483632
DEBUG [CompactionExecutor:29] 2016-04-11 12:11:58,810 SliceQueryPager.java:92 - 
Querying next page of slice query; new filter: SliceQueryFilter 
[reversed=false, slices=[[, ]], count=10000, toGroup = -1]
DEBUG [CompactionExecutor:30] 2016-04-11 12:11:58,810 
AbstractQueryPager.java:95 - Fetched 14 live rows
DEBUG [CompactionExecutor:30] 2016-04-11 12:11:58,810 
AbstractQueryPager.java:112 - Got result (14) smaller than page size (10000), 
considering pager exhausted
DEBUG [CompactionExecutor:30] 2016-04-11 12:11:58,810 
AbstractQueryPager.java:133 - Remaining rows to page: 2147483633
DEBUG [CompactionExecutor:28] 2016-04-11 12:11:58,796 
AbstractQueryPager.java:133 - Remaining rows to page: 2147483634
DEBUG [CompactionExecutor:27] 2016-04-11 12:11:58,810 
AbstractQueryPager.java:95 - Fetched 14 live rows
{noformat}

It seems to be related to index builds, and this only seems to happen when 
doing a very large index build (in this case the index is ~10GB per node).



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

Reply via email to