mirror of https://github.com/apache/cassandra
support frozen collections: list, set in cassandra-stress
patch by ZhaoYang ; reviewed by Mick Semb Wever for CASSANDRA-14907
This commit is contained in:
parent
7a058c6b03
commit
4a70a9a982
|
|
@ -1,4 +1,5 @@
|
|||
3.0.19
|
||||
* cassandra-stress works with frozen collections: list and set (CASSANDRA-14907)
|
||||
* For nodetool listsnapshots output, put spaces between columns, and increase snapshot padding (CASSANDRA-14876)
|
||||
* Fix handling FS errors on writing and reading flat files - LogTransaction and hints (CASSANDRA-15053)
|
||||
* Avoid double closing the iterator to avoid overcounting the number of requests (CASSANDRA-15058)
|
||||
|
|
|
|||
|
|
@ -411,6 +411,11 @@ public class StressProfile implements Serializable
|
|||
{
|
||||
case SET:
|
||||
case LIST:
|
||||
if (c.getType().isFrozen())
|
||||
{
|
||||
sb.append("?");
|
||||
break;
|
||||
}
|
||||
case COUNTER:
|
||||
sb.append(c.getName()).append(" + ?");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue