[ https://issues.apache.org/jira/browse/CASSANDRA-6662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897222#comment-13897222 ]
Aleksey Yeschenko commented on CASSANDRA-6662: ---------------------------------------------- Now that I think of it, reconcileTail() path is kinda useless, and only adds extra complexity. Doesn't make it more efficient - we still have to do the same number of operations as in the regular path. > Sort/reconcile cells in ArrayBackedSortedColumns only when an accessor is > called > -------------------------------------------------------------------------------- > > Key: CASSANDRA-6662 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6662 > Project: Cassandra > Issue Type: Improvement > Reporter: Aleksey Yeschenko > Assignee: Aleksey Yeschenko > Fix For: 2.1 > > > To avoid poor performance with huge numbers of cells added out of order > (which should be rare, but *can* happen with certain batch scenarios) we > should make ABSC only sort/reconcile its cells when an actual accessor is > actually called, delaying sorting until the very end. -- This message was sent by Atlassian JIRA (v6.1.5#6160)