[ https://issues.apache.org/jira/browse/CASSANDRA-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163587#comment-13163587 ]
Jonathan Ellis commented on CASSANDRA-3576: ------------------------------------------- bq. Note that the UnsortedWriter could probably be improving by having it spawn a 'writer' thread, allowing to continue feed new info in the buffer while the writer thread is busy writting the previous buffer That would be an improvement, but then why not allow multiple threads "feeding in" other than what looks like some fairly minor thread safety work? I'm reasoning from analogy with the normal memtable write path which the Unsorted writer strongly resembles -- we can max out 4 cores and just about max out 8 in that situation. It would be nice for bulk load to take advantage of multiple cores as well. > make AbstractSSTableSimpleWriters threadsafe > -------------------------------------------- > > Key: CASSANDRA-3576 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3576 > Project: Cassandra > Issue Type: New Feature > Components: Core > Affects Versions: 0.8.1 > Reporter: Jonathan Ellis > Assignee: Sylvain Lebresne > Priority: Minor > Fix For: 1.1 > > > I took a quick look and the Unsorted writer has a non-threadsafe > getColumnFamily method. I did not look deeper than that. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira