49 Collaborator |
Brandon Williams , Marcus Eriksson , Sam Tunnicliffe , Benjamin Lerer , Aleksey Yeschenko , Alex Petrov , Mick Semb Wever , Andrés de la Peña , Štefan Miklošovič , Ekaterina Dimitrova , David Capwell , Benedict Elliott Smith , Berenguer Blasi , Caleb Rackliffe , Yuki Morishita , Josh McKenzie , Robert Stupp , Blake Eggleston , Eric Evans , Dinesh Joshi , Jon Meredith , Jacek Lewandowski , Jordan West , Chris Lohfink , Adam Holmberg , Francisco Guerrero , Aleksei Zotov , Doug Rohrer , Vinay Chella , Alexandre Dutra , Maxwell Guo , Gianluca Righetto , Michael Kjellman , Jyothsna Konisa , Maulin Vasavada , Bernardo Botella , Alexander Dejanovski , Shailaja Koppu , by , Saranya Krishnakumar , Ben Manes , rwelgosh , reviewed by Yifan Cai , reviewed by Stefan Miklosovic , jkonisa , Yuriy Semchyshyn , Raymond Welgosh , Marcus Eriksson, Jon Meredith , Andres De la Pena |
54 Patch |
73 Review |
fd69375af0d31dccf4e14404ac58c9ced0f64dd9,
659558c980c67a80287ca7ccdfc8a70b1a56b7e2,
50273d98e4780b57da37400752eab69e65cd41bc,
933137fb14d4ebfe38d0d2c8e23b765aa1c89333,
473656c1d53edb998aa60d414221e397797de52b,
4526b3fcbde22d09065820286dd434d93ecc89ba,
99d034a2245c44becb6a730c77ad51ab9340f3a7,
ffc4c89c3df7ad0ae73ebefdcb7e15a2790c0a52,
26dd119679605bf61ad3caa24a70509e5be5aac9,
8fc39685fbb6c963cf0d86fd458069ab80bbcece,
c48906394e01460382f4070ecc34f6f9754fc567,
b83da7d978f1bae5f289f1561dd080d48dc4505b,
8327744c1aca0d9471cd8a01a1c7d79365363816,
3a6f6907314670fdb2b316db8f08ffd85da88851,
d9460a04daee5fa97639abf2b6e28ff9b29cf636,
4aab2c79b9539e8d8cfe90e4dd700b8da2f9e8a0,
8acbbe042b236c6948845ecd7af093c6f0fa3e4b,
845077fbc8d7102f303372eb8cb3299a155a436e,
b915688ea878aaa284f5cedeb799c5f797c4d824,
a1285ac92ded45ab6e9f6c7c98917daf14a4a320,
c591978f4d265e42d0132418005ba63a99278c75,
f32475a839e01e4eea3989871d293d70e8a360d7,
d6f18106f09e7b1a58744c9bd1ee35054a43d68a,
0373037a0db7e13548b0f302cad9414f00e58991,
c6ea8fabf9f726a58b76ff6e41d21b650941f880,
46ee939b957528185dc6bbd3028c1d6e695163e7,
fde640fe52704836ec21fedd62cae21290e099ec,
e5ab8c1951384b9ddf0df9f1d4d49b4c9dfc188f,
fee7a10823da1e29bd0e6504fea9679389180c9e,
ce270081bc0bc8ffa0a7e1e5c04f30b5c1875a84,
f15c6b8c06c9588bd96615fabfc36b11857cd4bb,
1728da30e4e7858d30178ef74350af3e690adf0c,
83e1e9e45193322f18f57aa7cc4ad31d9d5a152d,
7f258f1ef6d79c908c4d846d8616d8f5554282ea,
d51c18f807c5c88ef44114341592214747487645,
f3198c45067f753444ffafbc83b6aa563cb392ac,
43c19878e38fbe260f9e6143aa43836e85cf2f44,
da95e4b3fb36294b5117846b8fbb8cdc01e427d5,
753b40eb0f570fc88b5211b9bcea04761a240071,
e08053b77cac4ec91fd398d7bad65bba1394f45f,
abeaa3ea5ef99691cc1b29787cfcd573a90e34fb,
d3b3dcbb353de97220a11f55391babf149410905,
0e3a90698a94772e57df39e7461efe6b7e09d678,
1fbd3297a9c8303ca7aa2ff30d182e5ca568de4c,
9abe2127dde7ea317928b37b8b5c662e787b2192,
5459c121d5d688ec1571dd72550bd6faaeb087eb,
647bdd6a11970f80666d7f20b53af76fbda4ff14,
933137fb14d4ebfe38d0d2c8e23b765aa1c89333,
bef152d63018c521a84874e3eafe55663511f5b2,
7bf5be87e1d37e9f9302f15b1b79a48b0082b521,
5db813c579696bd51f5327a92fef59588367e4d4,
f5bc21c40ccd4bc2b9bc118ec5888bad3cc15b16,
5b26885187d0aa8bc09cd1b1f4b6be81aebb40c7,
9b37af1398b55c183d830c8a4c10e0c2f33b43d3 |
e8891be04a681fbd87e2bec2c07ed22e55725a04,
26c374da4f03e4a6b64e414805cd92f3eb0a36c6,
eb30005251cd8c10732ecab8365ebaa45f5fcbde,
6ffa43f68b8d10ca84d4a00bf81269527b4e14df,
9c796dfb272daa3ce57a2dc5cbeadd9273e1ac72,
933137fb14d4ebfe38d0d2c8e23b765aa1c89333,
f078c02cb58bddd735490b07548f7352f0eb09aa,
75194201f1f06d120f246f6fad025ca5f672943d,
acd815898d1e5669e7d8ee2469808f6e8a14a7df,
4a555f47ee943ce9fd70862cc8127d707e3507a2,
ccada788c47882bfb10d7cb86f7f39c9865428f2,
145dbd1f0875ae4c54392125e09ed05153c0dd8f,
36e16ee3c911c710129fcf3a69595038c3dbd385,
ca75ffe4d09a3e7b26a56345c0bdacaa284eaab7,
6748b8b7ead6fff7820045ebbfe23f6c050f2efe,
83c169ec9e36324f27bf562951362f4a03c3c688,
09b282d1fdd7d6d62542137003011d144c0227be,
c8c8635a4c902ef051a46845919a5430f8d71e3f,
a250126f0f277b43a18cb665ccd02a105271bc33,
7119cf8be1c32fa6ac015456965ae27a17cd828c,
a9725b681b948f2122f3d48b96a5c4e7403d2c39,
557b8e9982ad0964191abde810ef5c77a536f70a,
ed3901823a5fe9f8838d8b592a1b7703b12e810b,
013acc641c5d487b07be5c082af1e85d26bd127f,
545809616c92a91e4c39d1eedfa65800f25a2a93,
1ad8bf67a9c82cbb5ff38e5cf785f9fe2516d009,
2fe1c304835ef39093b70cbb89107383be3c3ee9,
f1c1694e4329a1f6dba8b978edaed4312e235116,
61be4d836213f708d9a29e59b9ef1df0bebef29a,
945a4fc23ac1f60b8380be3b60aef89caf3daba2,
0dc5a289e8dd586150253d951e6e229480c0ffc8,
a41cdd64b217c451b5576abe2f455eaa7ec1f322,
33fd2dc817f56116af0b4b7d2cd5365ce52948d9,
77dde2a3c4b40da3d820d4852c572338acbf6dc9,
b29e1037e4da75dfd2a30ad10f8008b24941e37f,
185893256f10c14207bffe49ae733fb1a970aec5,
2fba5c80ce7bf71d04c62043ffa1088b9e832d83,
5f23e6d766a18782db82d955bf380239990d2c84,
803a23b2f1b24701c22e7fadaf98c2c9a9491d35,
c52f50f046fd1a8e1c7f17d9a1952e2bd92aeb4c,
efa25fc8d10bbfcefe14fc6f2a623b6a8b73b5cd,
d421e82ee0ffd66d3f382bfbe0b69b7b275edce3,
1ca5769c9adfd2e8bad3b7eea83112ad14cb05b2,
865b67b21d326728936f0b80681129c73a2e374a,
838bd8cae6d125cfb055dbf6bfc5a2d4e13cdfcb,
b74d7370cc89fa899f47f50c825ddaed2dd05c3f,
7cf35988f298a8ae4ce7ebab2c69e5e7abc28958,
d3e48e4e00b1e8bd45e0694c5a8d9a0e941fa985,
8333d0b0890f6299fac1fd219f58aee0c62cbf9c,
12b610246bc42dc6af33abfe0885b2f989fc2c73,
f02e53568dbc193b7ac75cc19b0a7751d5514b95,
786cb11e182c6cb47f36d11d68e52c198d31ba76,
876ac8c6111697c8105899889bf794438110bc74,
88b18a603c0affa05679b11c2e7d91324fa8f719,
beee6b441c71895ca7b2833631933a6a55b516c2,
4d1d024136dd5f4b3775a0666b0c30a65641d57f,
7e78059b38f367d1c98bb11df6ba78633c1516f0,
db5832120f0fe9ad799ca0b5b16bbcf6f7404580,
5be83b6a72695253c552535d2b826209f144cc63,
521a6e2aa9f8a4bc95dd13e768ec6de33cf6fa15,
4564e102684dc5f66ec73de1fc836f97a1fa33c9,
0eb8cec5c75a7dc9503f59505bed67da65c49503,
63b172e137e0306aefd84f373963d8014c5a5efa,
ba63fa3c951cb5c18d0fa4f9483577c6e18389c4,
fdcd0dff216d9e1ad242be1a7d5be3ef67044ac3,
75d14b629da9360a8f2acd0153938b505c7c0714,
b2f2c70e26a32253b0e58ee197c2f8abf01dd449,
563592801aad00e002f0a162d5e2625a4b0e8723,
933137fb14d4ebfe38d0d2c8e23b765aa1c89333,
185893256f10c14207bffe49ae733fb1a970aec5,
964051b04767689a1a3a84493c0b4afe77d6edfc,
1b71196a036b4f33d1ef53418bd21ac4b241399e,
672af9b56f1729c6511a2279923eb435df4b7b9b |
eb30005251cd8c10732ecab8365ebaa45f5fcbde | Author: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
| 2023-08-29 11:52:08-04:00
Upgrade caffeine cache and fix CIDR permissions cache invalidation
patch by Ekaterina Dimitrova; reviewed by Jacek Lewandowski, Ben Manes, Yifan Cai, Shailaja Koppu for CASSANDRA-18805
6ffa43f68b8d10ca84d4a00bf81269527b4e14df | Author: Francisco Guerrero <frank.guerrero@gmail.com>
| 2023-08-25 11:10:48-06:00
Support Dynamic Port Allocation for in-jvm dtest framework
patch by Francisco Guerrero; reviewed by Dinesh Joshi, Jon Meredith, Yifan Cai for CASSANDRA-18722
9c796dfb272daa3ce57a2dc5cbeadd9273e1ac72 | Author: Francisco Guerrero <frank.guerrero@gmail.com>
| 2023-07-28 09:26:20-07:00
Skip ColumnFamilyStore#topPartitions initialization when client or tool mode
This commit skips the initialization of `topPartitions` in `org.apache.cassandra.db.ColumnFamilyStore`
when running in client or tool mode. The `TopPartitionTracker` class will attempt to query the system
keyspace, which when running in client or tool mode will not be part of the KeyspaceMetadata. This
causes a warning to be printed out with a stacktrace that can be misleading. The warning is similar to
this:
```
WARN org.apache.cassandra.db.SystemKeyspace: Could not load stored top SIZES partitions for ...
org.apache.cassandra.db.KeyspaceNotDefinedException: keyspace system does not exist
at org.apache.cassandra.schema.Schema.validateTable(Schema.java:xxx) ~[?:?]
at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare(SelectStatement.java:xxx) ~[?:?]
at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare(SelectStatement.java:xxx) ~[?:?]
at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare(SelectStatement.java:xxx) ~[?:?]
at org.apache.cassandra.cql3.QueryProcessor.parseAndPrepare(QueryProcessor.java:xxx) ~[?:?]
...
```
In this commit, we check whether we run in client or tool mode, and skip initialization
of `topPartitions` in those cases.
Patch by Francisco Guerrero; Reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-18697
933137fb14d4ebfe38d0d2c8e23b765aa1c89333 | Author: Shailaja Koppu <s_koppu@apple.com>
| 2023-06-13 17:18:29+01:00
CIDR filtering authorizer
Patch by Shailaja Koppu, Yifan Cai; Reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-18592
Co-Authored-By: Yifan Cai <ycai@apache.org>
933137fb14d4ebfe38d0d2c8e23b765aa1c89333 | Author: Shailaja Koppu <s_koppu@apple.com>
| 2023-06-13 17:18:29+01:00
CIDR filtering authorizer
Patch by Shailaja Koppu, Yifan Cai; Reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-18592
Co-Authored-By: Yifan Cai <ycai@apache.org>
f078c02cb58bddd735490b07548f7352f0eb09aa | Author: jkonisa <jkonisa@apple.com>
| 2023-05-22 22:15:22-07:00
Adding Mutual TLS authenticators for client & internode connections
Patch by Jyothsna Konisa & Dinesh Joshi; reviewed by Yifan Cai, Jon Meredith,
Yuki Morishita & Dinesh Joshi for CASSANDRA-18554
Co-Authored-By: Dinesh Joshi <djoshi@apache.org>
26c374da4f03e4a6b64e414805cd92f3eb0a36c6 | Author: Francisco Guerrero <frank.guerrero@gmail.com>
| 2023-03-09 12:11:20-08:00
Synchronize CQLSSTableWriter#build on the Schema.instance object
In this commit the `org.apache.cassandra.io.sstable.CQLSSTableWriter#build` method synchronizes on the
`Schema.instance` object (instead of the `CQLSSTableWriter.class`) to prevent concurrent schema operations
to fail when the offline tools also updates the schema.
For example, a table creation operation, which modifies the keyspace tables metadata, might end up
missing the update when a concurrent call to the `CQLSSTableWriter#build` method is accessing the
singleton Schema instance.
Patch by Francisco Guerrero, reviewed by Yifan Cai, Maxwell Guo, Alex Petrov for CASSANDRA-18317.
ccada788c47882bfb10d7cb86f7f39c9865428f2 | Author: Stefan Miklosovic <smiklosovic@apache.org>
| 2022-11-30 21:31:43+01:00
Print exception message without stacktrace when nodetool commands fail on probe.getOwnershipWithPort()
Consequently, there is also alignement of nodetool ring command returning
exit code 1 in case there is unrecoverable exception thrown,
same as was already done for status and describecluster commands.
patch by Stefan Miklosovic; reviewed by Brandon Williams and Yifan Cai for CASSANDRA-18079
145dbd1f0875ae4c54392125e09ed05153c0dd8f | Author: Saranya Krishnakumar <saranya_k@apple.com>
| 2022-10-19 16:58:41-07:00
Add flag to exclude nodes from local DC when running nodetool rebuild
Patch by Saranya Krishnakumar; reviewed by Dinesh Joshi, Marcus Eriksson, Yifan Cai for CASSANDRA-17870
75194201f1f06d120f246f6fad025ca5f672943d | Author: Bernardo Botella Corbi <contacto@bernardobotella.com>
| 2022-10-10 09:08:16-07:00
Fix quoting in toCqlString methods of UDTs and aggregates
patch by Bernardo Botella Corbi, reviewed by Stefan Miklosovic, Benjamin Lerer and Yifan Cai for CASSANDRA-17918
83c169ec9e36324f27bf562951362f4a03c3c688 | Author: Francisco Guerrero <frank.guerrero@gmail.com>
| 2022-08-19 10:20:57-07:00
Fix BulkLoader to load entireSSTableThrottle and entireSSTableInterDcThrottle
patch by Francisco Guerrero; reviewed by Ekaterina Dimitrova, Yifan Cai for CASSANDRA-17677
4526b3fcbde22d09065820286dd434d93ecc89ba | Author: Josh McKenzie <jmckenzie@apache.org>
| 2022-08-16 14:19:46-04:00
Add ability to log load profiles at fixed intervals
Patch by Yifan Cai; reviewed by Josh McKenzie, Dinesh Joshi, and Chris Lohfink for CASSANDRA-17821
Co-authored-by: Yifan Cai <ycai@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
09b282d1fdd7d6d62542137003011d144c0227be | Author: Josh McKenzie <jmckenzie@apache.org>
| 2022-08-11 14:02:27-04:00
Rate-limit new client connection auth setup to avoid overwhelming bcrypt
Patch by Chris Lohfink; reviewed by Caleb Rackliffe, Yifan Cai, and Josh McKenzie for CASSANDRA-17812
Co-authored-by: Chris Lohfink <clohfink@apple.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
7119cf8be1c32fa6ac015456965ae27a17cd828c | Author: Jyothsna Konisa <jkonisa@apple.com>
| 2022-06-30 09:52:50-07:00
Fix TestGossipingPropertyFileSnitch.test_prefer_local_reconnect_on_listen_address
patch by Jyothsna Konisa; reviewed by Jon Meredith, Yifan Cai for CASSANDRA-17700
a9725b681b948f2122f3d48b96a5c4e7403d2c39 | Author: Francisco Guerrero <frank.guerrero@gmail.com>
| 2022-06-29 11:15:10-07:00
Fix AbstractCell#toString throws MarshalException for cell in collection
patch by Francisco Guerrero; reviewed by Caleb Rackliffe, Yifan Cai for CASSANDRA-17695
c8c8635a4c902ef051a46845919a5430f8d71e3f | Author: Andrés de la Peña <a.penya.garcia@gmail.com>
| 2022-06-17 11:45:43+01:00
Add ability to read the TTLs and write times of the elements of a collection and/or UDT
patch by Andrés de la Peña; reviewed by Yifan Cai and Benjamin Lerer for CASSANDRA-8877
ed3901823a5fe9f8838d8b592a1b7703b12e810b | Author: Jyothsna Konisa <jkonisa@apple.com>
| 2022-05-24 10:21:16-07:00
Adding support for TLS client authentication for internode communication
patch by Jyothsna Konisa; reviewed by Bernardo Botella, Francisco Guerrero, Jon Meredith, Maulin Vasavada, Yifan Cai for CASSANDRA-17513
ffc4c89c3df7ad0ae73ebefdcb7e15a2790c0a52 | Author: Doug Rohrer <drohrer@apple.com>
| 2022-05-17 15:09:16-04:00
Fix issue where frozen maps may not be serialized in the correct order
patch by Doug Rohrer, Francisco Guerrero and Yifan Cai; reviewed by Andrés de la Peña and Caleb Rackliffe for CASSANDRA-17623
Co-authored-by: Doug Rohrer <drohrer@apple.com>
Co-authored-by: Francisco Guerrero <frank.guerrero@gmail.com>
Co-authored-by: Yifan Cai <ycai@apache.org>
013acc641c5d487b07be5c082af1e85d26bd127f | Author: Bernardo Botella Corbi <contacto@bernardobotella.com>
| 2022-04-18 16:09:21-07:00
Rename DisableFlag class to EnableFlag on guardrails
patch by Bernardo Botella Corbi; reviewed by Andrés de la Peña, Josh McKenzie and Yifan Cai for CASSANDRA-17544
2fe1c304835ef39093b70cbb89107383be3c3ee9 | Author: Bernardo Botella Corbi <b_botellacorbi@apple.com>
| 2022-04-12 11:06:41-07:00
Fix flaky test LocalReadSizeWarningTest#failThresholdSinglePartition
patch by Bernardo Botella Corbi; reviewed by Andres de la Peña, Yifan Cai for CASSANDRA-17217
61be4d836213f708d9a29e59b9ef1df0bebef29a | Author: Francisco Guerrero <frank.guerrero@gmail.com>
| 2022-03-16 01:31:00+01:00
expose gossip information in system_views.gossip_info virtual table
patch by Francisco Guerrero; reviewed by Stefan Miklosovic and Yifan Cai for CASSANDRA-17002
This commit adds a new virtual table that exposes the gossip information in tabular format.
The information is the same as the information presented through the `nodetool gossipinfo`
command, but the virtual table splits the version and value from `VersionedValue` into two
different columns. This is intented to help clients reading the vtable without the need of
parsing the version:value information (as it currently stands in gossipinfo).
The token value does not have a column. This is consistent with the gossipinfo output which
always renders ":<hidden>" for the Token value. Only the token_version column is available.
945a4fc23ac1f60b8380be3b60aef89caf3daba2 | Author: Shailaja Koppu <s_koppu@apple.com>
| 2022-02-01 09:53:49-08:00
Add a virtual table for exposing prepared statements metrics
patch by Shailaja Koppu; reviewed by Ekaterina Dimitrova, Francisco Guerrero, Yifan Cai for CASSANDRA-17224
0dc5a289e8dd586150253d951e6e229480c0ffc8 | Author: Francisco Guerrero <frank.guerrero@gmail.com>
| 2022-01-14 16:13:00-08:00
Preserve tests that use BigInt numbers
Patch by Francisco Guerrero; reviewed by brandonwilliams and ycai for
CASSANDRA-17133
a41cdd64b217c451b5576abe2f455eaa7ec1f322 | Author: Francisco Guerrero <francisco.guerrero@apple.com>
| 2021-12-14 10:13:59-08:00
Allow column_index_size_in_kb to be configurable through nodetool
patch by Francisco Guerrero; reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-17121
33fd2dc817f56116af0b4b7d2cd5365ce52948d9 | Author: Caleb Rackliffe <calebrackliffe@gmail.com>
| 2021-11-17 16:43:00-06:00
Log queries that fail on timeout or unavailable errors up to once per minute by default
patch by Caleb Rackliffe and Marcus Eriksson; reviewed by David Capwell and Yifan Cai for CASSANDRA-17159
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
77dde2a3c4b40da3d820d4852c572338acbf6dc9 | Author: Francisco Guerrero <francisco.guerrero@apple.com>
| 2021-11-09 13:32:15-08:00
Introduce separate rate limiting settings for entire SSTable streaming
patch by Francisco Guerrero; reviewed by Dinesh Joshi, Marcus Eriksson, Yifan Cai for CASSANDRA-17065
b29e1037e4da75dfd2a30ad10f8008b24941e37f | Author: David Capwell <dcapwell@apache.org>
| 2021-11-08 16:03:06-08:00
JVMStabilityInspector.forceHeapSpaceOomMaybe should handle all non-heap OOMs rather than only supporting direct only
patch by David Capwell; reviewed by Caleb Rackliffe, Yifan Cai for CASSANDRA-17128
1ad8bf67a9c82cbb5ff38e5cf785f9fe2516d009 | Author: Benjamin Lerer <b.lerer@gmail.com>
| 2021-11-04 16:47:16+01:00
Allow to aggregate by time intervals
Patch by Benjamin Lerer; review by Andres De la Pena and Yifan Cai for CASSANDRA-11871
The patch allow to use pure monotonic functions on the last attribute of the GROUP BY clause and introduce some floor functions that can be use to group by time range.
A function is pure if:
1. The function return values are identical for identical arguments
2. The function application has no side effects
A function is monotonic if it is either entirely nonincreasing or nondecreasing.
185893256f10c14207bffe49ae733fb1a970aec5 | Author: Francisco Guerrero <francisco.guerrero@apple.com>
| 2021-10-08 15:05:24-07:00
Allow GRANT/REVOKE multiple permissions in a single statement
patch by Francisco Guerrero; reviewed by Benjamin Lerer and Yifan Cai for CASSANDRA-17030
This commit allows GRANT/REVOKE statement to support multiple permissions with a single
statement. For example,
```
GRANT MODIFY, SELECT ON KEYSPACE field TO manager;
GRANT ALTER, DROP ON ROLE role1 TO role2;
```
185893256f10c14207bffe49ae733fb1a970aec5 | Author: Francisco Guerrero <francisco.guerrero@apple.com>
| 2021-10-08 15:05:24-07:00
Allow GRANT/REVOKE multiple permissions in a single statement
patch by Francisco Guerrero; reviewed by Benjamin Lerer and Yifan Cai for CASSANDRA-17030
This commit allows GRANT/REVOKE statement to support multiple permissions with a single
statement. For example,
```
GRANT MODIFY, SELECT ON KEYSPACE field TO manager;
GRANT ALTER, DROP ON ROLE role1 TO role2;
```
fd69375af0d31dccf4e14404ac58c9ced0f64dd9 | Author: Yifan Cai <yifan_cai@apple.com>
| 2021-07-15 17:17:40-07:00
Fix CircleCI config to also build dtest jar from cassandra-4.0
patch by Yifan Cai; reviewed by Brandon Williams, Michael Semb Wever, Ekaterina Dimitrova for CASSANDRA-16805
2fba5c80ce7bf71d04c62043ffa1088b9e832d83 | Author: Marcus Eriksson, Jon Meredith <marcuse@apache.org>
| 2021-06-25 22:00:25-07:00
Avoid memoizing the wrong min cluster version during upgrades
patch by Marcus Eriksson, Jon Meredith; reviewed by Brandon Williams, Yifan Cai for CASSANDRA-16759
5f23e6d766a18782db82d955bf380239990d2c84 | Author: Caleb Rackliffe <calebrackliffe@gmail.com>
| 2021-06-23 14:25:12-05:00
Add isolated flush timer to CommitLogMetrics and ensure writes correspond to single WaitingOnCommit data points
patch by Caleb Rackliffe; reviewed by Yifan Cai for CASSANDRA-16701
964051b04767689a1a3a84493c0b4afe77d6edfc | Author: David Capwell <dcapwell@gmail.com>
| 2021-06-09 16:01:18-07:00
CASSANDRA-16728 - test_tombstone_failure_threshold_message assert checking if array == string, should check for array truthiness
patch by David Capwell; reviewed by Yifan Cai for CASSANDRA-16728
803a23b2f1b24701c22e7fadaf98c2c9a9491d35 | Author: Alexey Zotov <azotcsit@gmail.com>
| 2021-05-30 22:41:28-07:00
Fix LeveledCompactionStrategy compacts last level throw an ArrayIndexOutOfBoundsException
patch by Alexey Zotov; reviewed by Marcus Eriksson, Yifan Cai for CASSANDRA-15669
c52f50f046fd1a8e1c7f17d9a1952e2bd92aeb4c | Author: Mick Semb Wever <mck@apache.org>
| 2021-04-15 16:57:36+02:00
Restore running each test class in its own separate jvm and cassandra directory
(Remove test parallelism from ant build.xml)
patch by Mick Semb Wever; reviewed by Yifan Cai, David Capwell for CASSANDRA-16595
efa25fc8d10bbfcefe14fc6f2a623b6a8b73b5cd | Author: Alexandre Dutra <adutra@users.noreply.github.com>
| 2021-03-26 19:14:39+01:00
Do not reassign System.out and System.err when running nodetool
authored by Alexandre Dutra; reviewed by Yifan Cai and Ekaterina Dimitrova for CASSANDRA-16533
c591978f4d265e42d0132418005ba63a99278c75 | Author: Yifan Cai <ycai@apache.org>
| 2021-03-15 20:40:25-07:00
Better handle legacy gossip application states during (and after) upgrades
Only remove duplicated legacy application states when `!hasMajorVersion3Nodes()` but always avoid duplicate status notifications.
patch by Yifan Cai; reviewed by Mick Semb Wever for CASSANDRA-16525
865b67b21d326728936f0b80681129c73a2e374a | Author: jacek-lewandowski <jacek.lewandowski@datastax.com>
| 2021-03-01 12:24:28+00:00
Fix ColumnFilter behaviour to prevent digest mitmatches during upgrades
patch by Jacek Lewandowski; reviewed by Andrés de la Peña and Yifan Cai for CASSANDRA-16415
12b610246bc42dc6af33abfe0885b2f989fc2c73 | Author: Brandon Williams <brandonwilliams@apache.org>
| 2021-01-20 12:46:23-06:00
Don't manually remove endpoints in distributed tests
Patch by brandonwilliams, reviewed by ycai and edimitrova for
CASSANDRA-16229
876ac8c6111697c8105899889bf794438110bc74 | Author: David Capwell <dcapwell@apache.org>
| 2020-12-02 13:35:56-08:00
When a table attempts to clean up metrics, it was cleaning up all global table metrics
patch by David Capwell; reviewed by Jon Meredith, Jordan West, Yifan Cai for CASSANDRA-16095
c6ea8fabf9f726a58b76ff6e41d21b650941f880 | Author: yifan-c <yc25code@gmail.com>
| 2020-11-17 16:06:03-08:00
Add dedicated tcp user timeout for streaming connection
patch by Yifan Cai; reviewed by Berenguer Blasi, David Capwell, Adam
Holmberg and by Benjamin Lerer for CASSANDRA-16143
4d1d024136dd5f4b3775a0666b0c30a65641d57f | Author: David Capwell <dcapwell@apache.org>
| 2020-11-10 10:00:20-08:00
jvm dtest is strict on properties which causes upgrade tests to fail
patch by David Capwell; reviewed by Caleb Rackliffe, Ekaterina Dimitrova, Jordan West, Yifan Cai for CASSANDRA-16256
beee6b441c71895ca7b2833631933a6a55b516c2 | Author: Caleb Rackliffe <calebrackliffe@gmail.com>
| 2020-10-30 16:24:52-05:00
AbstractArrayClusteringPrefix now properly handles null clustering elements from compact (or previously compact) tables
patch by Caleb Rackliffe; reviewed by Yifan Cai and Jordan West for CASSANDRA-16241
ce270081bc0bc8ffa0a7e1e5c04f30b5c1875a84 | Author: Yifan Cai <yc25code@gmail.com>
| 2020-10-29 10:03:56-07:00
Invalid serialized size for responses caused by increasing message time by 1ms which caused extra bytes in size calculation
patch by Yifan Cai; reviewed by David Capwell, Jon Meredith for CASSANDRA-16103
db5832120f0fe9ad799ca0b5b16bbcf6f7404580 | Author: Jon Meredith <jmeredithco@apple.com>
| 2020-10-22 10:54:55-07:00
In-JVM dtest - modify schema with stopped nodes and use yaml fragments for config
patch by Jon Meredith; reviewed by Alex Petrov, David Capwell, Dinesh Joshi, Yifan Cai for CASSANDRA-16152
f15c6b8c06c9588bd96615fabfc36b11857cd4bb | Author: Yifan Cai <yc25code@gmail.com>
| 2020-10-19 11:09:11-07:00
Backport CASSANDRA-16057: Should update in-jvm dtest to expose stdout and stderr for nodetool
patch by Yifan Cai; reviewed by Alex Petrov, David Capwell for CASSANDRA-16057
7e78059b38f367d1c98bb11df6ba78633c1516f0 | Author: Caleb Rackliffe <calebrackliffe@gmail.com>
| 2020-10-16 12:40:03-05:00
Throw BufferOverflowException from DataOutputBuffer for better visibility
patch by Caleb Rackliffe; Reviewed by Yifan Cai, Jordan West for CASSANDRA-16214
8333d0b0890f6299fac1fd219f58aee0c62cbf9c | Author: Marcus Eriksson <marcuse@apache.org>
| 2020-10-14 12:30:21+02:00
Reduce amount of allocations during batch statement execution
Patch by marcuse; reviewed by Benjamin Lerer, Michael Semb Wever and Yifan Cai
for CASSANDRA-16201
521a6e2aa9f8a4bc95dd13e768ec6de33cf6fa15 | Author: David Capwell <dcapwell@apache.org>
| 2020-10-12 09:30:41-07:00
Fixed a NullPointerException when calling nodetool enablethrift
patch by David Capwell; reviewed by Ekaterina Dimitrova, Jordan West, Yifan Cai for CASSANDRA-16127
5be83b6a72695253c552535d2b826209f144cc63 | Author: Alex Petrov <oleksandr.petrov@gmail.com>
| 2020-10-01 17:00:12+02:00
Fix NPEs when 3.0 messages get re-serialized for filtering on 4.0 nodes in in-JVM dtests.
Patch by Alex Petrov; reviewed by Yifan Cai and David Capwell for CASSANDRA-16157
ba63fa3c951cb5c18d0fa4f9483577c6e18389c4 | Author: Adam Holmberg <adam.holmberg@datastax.com>
| 2020-08-19 15:32:09-05:00
Fix flaky test ConnectionTest.testMessagePurging
patch by Adam Holmberg; reviewed by Yifan Cai and Benjamin Lerer for
CASSANDRA-15958
The patch fix 2 problems a race condition in InboundSocket.close when it
is called multiple times and the flakyness in ConnectionTest.testMessagePurging.
f3198c45067f753444ffafbc83b6aa563cb392ac | Author: yifan-c <yc25code@gmail.com>
| 2020-07-16 13:12:11-07:00
Verify sstable components on startup
Patch by Yifan Cai, reviewed by David Capwell and brandonwilliams for
CASSANDRA-15945
da95e4b3fb36294b5117846b8fbb8cdc01e427d5 | Author: Yifan Cai <yifan_cai@apple.com>
| 2020-04-28 13:51:15-07:00
Add tunable initial size and growth factor to RangeTombstoneList
Added `initial_range_tombstone_list_allocation_size` and
`range_tombstone_list_growth_factor` in config, which can be altered via JMX.
Patch By Michael Kjellman and Yifan Cai; Reviewed by Dinesh Joshi for CASSANDRA-15763
Co-Authored-By: Yifan Cai <yifan_cai@apple.com>
Co-Authored-By: Michael Kjellman <kjellman@apple.com>
563592801aad00e002f0a162d5e2625a4b0e8723 | Author: Doug Rohrer <doug@therohrers.org>
| 2019-12-11 21:33:24-05:00
Pass correct seed node through to InstanceConfig so it can set it properly when starting clusters on non-0 subnets.
Patch by Doug Rohrer, reviewed by Yifan Cai and David Capwell for CASSANDRA-15447.
5459c121d5d688ec1571dd72550bd6faaeb087eb | Author: Doug Rohrer <drohrer@apple.com>
| 2019-11-18 11:39:45-05:00
Support NodeTool in dtest
patch by Doug Rohrer and Yifan Cai; reviewed by David Capwell
and Dinesh Joshi for CASSANDRA-15429
Co-Authored-By: Doug Rohrer <drohrer@apple.com>
Co-Authored-By: Yifan Cai <yifan_cai@apple.com>
d3b3dcbb353de97220a11f55391babf149410905 | Author: yifan-c <yc25code@gmail.com>
| 2019-10-27 21:01:31-07:00
Separate exceptions for CAS write timeout exceptions caused by contention and unkown result
Patch by Yifan Cai; reviewed by Alex Petrov and Dinesh Joshi for CASSANDRA-15350