You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2018/09/04 12:00:00 UTC
[jira] [Comment Edited] (CASSANDRA-13974) Bad prefix matching when
figuring out data directory for an sstable
[ https://issues.apache.org/jira/browse/CASSANDRA-13974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16602949#comment-16602949 ]
Marcus Eriksson edited comment on CASSANDRA-13974 at 9/4/18 11:59 AM:
----------------------------------------------------------------------
seems I totally forgot about this, rebased branch: https://github.com/krummas/cassandra/commits/marcuse/13974-2
tests: https://circleci.com/gh/krummas/cassandra/tree/marcuse%2F13974-2
this version also fixes an existing issue with {{FileUtils.isContained}} as it also did prefix matching without a separator
was (Author: krummas):
seems I totally forgot about this, rebased branch: https://github.com/krummas/cassandra/commits/marcuse/13943-2
tests: https://circleci.com/gh/krummas/cassandra/tree/marcuse%2F13974-2
this version also fixes an existing issue with {{FileUtils.isContained}} as it also did prefix matching without a separator
> Bad prefix matching when figuring out data directory for an sstable
> -------------------------------------------------------------------
>
> Key: CASSANDRA-13974
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13974
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Marcus Eriksson
> Assignee: Marcus Eriksson
> Priority: Major
> Fix For: 3.11.x, 4.x
>
>
> We do a "startsWith" check when getting data directory for an sstable, we should match including File.separator
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org