mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.0' into trunk
This commit is contained in:
commit
f91aad4655
|
|
@ -1634,7 +1634,11 @@ public abstract class ReadCommand extends MonitorableImpl implements ReadQuery
|
|||
{
|
||||
SortedSet<Clustering> requestedRows = filter.requestedRows();
|
||||
Slices slices;
|
||||
if (requestedRows.isEmpty() || requestedRows.size() == 1 && requestedRows.first().size() == 0)
|
||||
if (requestedRows.isEmpty())
|
||||
{
|
||||
slices = Slices.NONE;
|
||||
}
|
||||
else if (requestedRows.size() == 1 && requestedRows.first().size() == 0)
|
||||
{
|
||||
slices = Slices.ALL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue