-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Remove unused max_value_size_in_mb config setting #124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blambov
pushed a commit
to blambov/cassandra
that referenced
this pull request
Jul 13, 2021
* CDB-15: Introduce basic framework for Guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> * CDB-18: Introduce Guardrails for MV/2i Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-19: Introduce guardrails for Table number and Table properties Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-22: Introduce disallowed write consistencies guardrail Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-21: Introduce Guardrail for partition size Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-20: Introduce Guardrail for partition keys in a SELECT Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * CDB-17: Introduce Guardrails for CollectionSizeWarnThreshold / FieldsPerUDT / ItemsPerCollection Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Redact guardrail user data in error messages that are passed to listeners CDB-16: Introduce disk usage guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-30: Add Guardrail for cartesian product of IN queries Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-31: Add guardrail for user-provided timestamps CDB-23: Introduce Guardrail for read-before-write list operations CDB-3: Generalize/improve conditions on which Guardrails are suspended Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Make sure tablePropertiesDisallowed Guardrail is also applied to MV creation/alteration CDB-3: Fix remaining test failures CDB-3: Fix CompactionStressTest / CQLSSTableWriterTest Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Add missing guardrail settings to cassandra.yaml and missing enabled check for tables limit GR Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * STAR-409 Fix ClientRequestSizeMetricsTest by ensuring session connected before clearing metrics * STAR-409 Add call to SSTableWriter.guardCollectionSize in PartitionWriter.writePartition Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> (cherry picked from commit 0676af0) (cherry picked from commit d187a01)
blambov
pushed a commit
to blambov/cassandra
that referenced
this pull request
Aug 11, 2021
* CDB-15: Introduce basic framework for Guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> * CDB-18: Introduce Guardrails for MV/2i Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-19: Introduce guardrails for Table number and Table properties Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-22: Introduce disallowed write consistencies guardrail Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-21: Introduce Guardrail for partition size Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-20: Introduce Guardrail for partition keys in a SELECT Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * CDB-17: Introduce Guardrails for CollectionSizeWarnThreshold / FieldsPerUDT / ItemsPerCollection Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Redact guardrail user data in error messages that are passed to listeners CDB-16: Introduce disk usage guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-30: Add Guardrail for cartesian product of IN queries Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-31: Add guardrail for user-provided timestamps CDB-23: Introduce Guardrail for read-before-write list operations CDB-3: Generalize/improve conditions on which Guardrails are suspended Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Make sure tablePropertiesDisallowed Guardrail is also applied to MV creation/alteration CDB-3: Fix remaining test failures CDB-3: Fix CompactionStressTest / CQLSSTableWriterTest Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Add missing guardrail settings to cassandra.yaml and missing enabled check for tables limit GR Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * STAR-409 Fix ClientRequestSizeMetricsTest by ensuring session connected before clearing metrics * STAR-409 Add call to SSTableWriter.guardCollectionSize in PartitionWriter.writePartition Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com>
blambov
pushed a commit
to blambov/cassandra
that referenced
this pull request
Aug 31, 2021
* CDB-15: Introduce basic framework for Guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> * CDB-18: Introduce Guardrails for MV/2i Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-19: Introduce guardrails for Table number and Table properties Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-22: Introduce disallowed write consistencies guardrail Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-21: Introduce Guardrail for partition size Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-20: Introduce Guardrail for partition keys in a SELECT Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * CDB-17: Introduce Guardrails for CollectionSizeWarnThreshold / FieldsPerUDT / ItemsPerCollection Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Redact guardrail user data in error messages that are passed to listeners CDB-16: Introduce disk usage guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-30: Add Guardrail for cartesian product of IN queries Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-31: Add guardrail for user-provided timestamps CDB-23: Introduce Guardrail for read-before-write list operations CDB-3: Generalize/improve conditions on which Guardrails are suspended Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Make sure tablePropertiesDisallowed Guardrail is also applied to MV creation/alteration CDB-3: Fix remaining test failures CDB-3: Fix CompactionStressTest / CQLSSTableWriterTest Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Add missing guardrail settings to cassandra.yaml and missing enabled check for tables limit GR Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * STAR-409 Fix ClientRequestSizeMetricsTest by ensuring session connected before clearing metrics * STAR-409 Add call to SSTableWriter.guardCollectionSize in PartitionWriter.writePartition Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> (cherry picked from commit 0676af0) (cherry picked from commit d187a01) (cherry picked from commit 4c99b0f)
blambov
pushed a commit
to blambov/cassandra
that referenced
this pull request
Mar 21, 2022
* CDB-15: Introduce basic framework for Guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> * CDB-18: Introduce Guardrails for MV/2i Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-19: Introduce guardrails for Table number and Table properties Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-22: Introduce disallowed write consistencies guardrail Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-21: Introduce Guardrail for partition size Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-20: Introduce Guardrail for partition keys in a SELECT Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * CDB-17: Introduce Guardrails for CollectionSizeWarnThreshold / FieldsPerUDT / ItemsPerCollection Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Redact guardrail user data in error messages that are passed to listeners CDB-16: Introduce disk usage guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-30: Add Guardrail for cartesian product of IN queries Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-31: Add guardrail for user-provided timestamps CDB-23: Introduce Guardrail for read-before-write list operations CDB-3: Generalize/improve conditions on which Guardrails are suspended Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Make sure tablePropertiesDisallowed Guardrail is also applied to MV creation/alteration CDB-3: Fix remaining test failures CDB-3: Fix CompactionStressTest / CQLSSTableWriterTest Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Add missing guardrail settings to cassandra.yaml and missing enabled check for tables limit GR Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * STAR-409 Fix ClientRequestSizeMetricsTest by ensuring session connected before clearing metrics * STAR-409 Add call to SSTableWriter.guardCollectionSize in PartitionWriter.writePartition Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> (cherry picked from commit 0676af0) (cherry picked from commit d187a01) (cherry picked from commit 4c99b0f) (cherry picked from commit 2dfc860)
blambov
pushed a commit
to blambov/cassandra
that referenced
this pull request
Jun 13, 2022
* CDB-15: Introduce basic framework for Guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> * CDB-18: Introduce Guardrails for MV/2i Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-19: Introduce guardrails for Table number and Table properties Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-22: Introduce disallowed write consistencies guardrail Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-21: Introduce Guardrail for partition size Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-20: Introduce Guardrail for partition keys in a SELECT Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * CDB-17: Introduce Guardrails for CollectionSizeWarnThreshold / FieldsPerUDT / ItemsPerCollection Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Redact guardrail user data in error messages that are passed to listeners CDB-16: Introduce disk usage guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-30: Add Guardrail for cartesian product of IN queries Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-31: Add guardrail for user-provided timestamps CDB-23: Introduce Guardrail for read-before-write list operations CDB-3: Generalize/improve conditions on which Guardrails are suspended Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Make sure tablePropertiesDisallowed Guardrail is also applied to MV creation/alteration CDB-3: Fix remaining test failures CDB-3: Fix CompactionStressTest / CQLSSTableWriterTest Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Add missing guardrail settings to cassandra.yaml and missing enabled check for tables limit GR Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * STAR-409 Fix ClientRequestSizeMetricsTest by ensuring session connected before clearing metrics * STAR-409 Add call to SSTableWriter.guardCollectionSize in PartitionWriter.writePartition Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> (cherry picked from commit 0676af0) (cherry picked from commit d187a01) (cherry picked from commit 4c99b0f) (cherry picked from commit 2dfc860) (cherry picked from commit 604b4ba)
blambov
pushed a commit
to blambov/cassandra
that referenced
this pull request
Nov 24, 2022
* CDB-15: Introduce basic framework for Guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> * CDB-18: Introduce Guardrails for MV/2i Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-19: Introduce guardrails for Table number and Table properties Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-22: Introduce disallowed write consistencies guardrail Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-21: Introduce Guardrail for partition size Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-20: Introduce Guardrail for partition keys in a SELECT Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * CDB-17: Introduce Guardrails for CollectionSizeWarnThreshold / FieldsPerUDT / ItemsPerCollection Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Redact guardrail user data in error messages that are passed to listeners CDB-16: Introduce disk usage guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-30: Add Guardrail for cartesian product of IN queries Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-31: Add guardrail for user-provided timestamps CDB-23: Introduce Guardrail for read-before-write list operations CDB-3: Generalize/improve conditions on which Guardrails are suspended Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Make sure tablePropertiesDisallowed Guardrail is also applied to MV creation/alteration CDB-3: Fix remaining test failures CDB-3: Fix CompactionStressTest / CQLSSTableWriterTest Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Add missing guardrail settings to cassandra.yaml and missing enabled check for tables limit GR Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * STAR-409 Fix ClientRequestSizeMetricsTest by ensuring session connected before clearing metrics * STAR-409 Add call to SSTableWriter.guardCollectionSize in PartitionWriter.writePartition Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> (cherry picked from commit 0676af0) (cherry picked from commit d187a01) (cherry picked from commit 4c99b0f) (cherry picked from commit 2dfc860) (cherry picked from commit 604b4ba) (cherry picked from commit 9ea0199)
adelapena
added a commit
to adelapena/cassandra
that referenced
this pull request
Sep 26, 2023
* CDB-15: Introduce basic framework for Guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> * CDB-18: Introduce Guardrails for MV/2i Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-19: Introduce guardrails for Table number and Table properties Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-22: Introduce disallowed write consistencies guardrail Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-21: Introduce Guardrail for partition size Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-20: Introduce Guardrail for partition keys in a SELECT Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * CDB-17: Introduce Guardrails for CollectionSizeWarnThreshold / FieldsPerUDT / ItemsPerCollection Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Redact guardrail user data in error messages that are passed to listeners CDB-16: Introduce disk usage guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-30: Add Guardrail for cartesian product of IN queries Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-31: Add guardrail for user-provided timestamps CDB-23: Introduce Guardrail for read-before-write list operations CDB-3: Generalize/improve conditions on which Guardrails are suspended Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Make sure tablePropertiesDisallowed Guardrail is also applied to MV creation/alteration CDB-3: Fix remaining test failures CDB-3: Fix CompactionStressTest / CQLSSTableWriterTest Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Add missing guardrail settings to cassandra.yaml and missing enabled check for tables limit GR Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * STAR-409 Fix ClientRequestSizeMetricsTest by ensuring session connected before clearing metrics * STAR-409 Add call to SSTableWriter.guardCollectionSize in PartitionWriter.writePartition Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> (cherry picked from commit 0676af0) (cherry picked from commit d187a01) (cherry picked from commit 4c99b0f) (cherry picked from commit 2dfc860) (cherry picked from commit 604b4ba) (cherry picked from commit 9ea0199) (cherry picked from commit d9a84f0) (cherry picked from commit 29c90ac)
michaelsembwever
pushed a commit
to thelastpickle/cassandra
that referenced
this pull request
Sep 25, 2024
* CDB-15: Introduce basic framework for Guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> * CDB-18: Introduce Guardrails for MV/2i Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-19: Introduce guardrails for Table number and Table properties Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-22: Introduce disallowed write consistencies guardrail Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-21: Introduce Guardrail for partition size Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-20: Introduce Guardrail for partition keys in a SELECT Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * CDB-17: Introduce Guardrails for CollectionSizeWarnThreshold / FieldsPerUDT / ItemsPerCollection Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Redact guardrail user data in error messages that are passed to listeners CDB-16: Introduce disk usage guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-30: Add Guardrail for cartesian product of IN queries Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-31: Add guardrail for user-provided timestamps CDB-23: Introduce Guardrail for read-before-write list operations CDB-3: Generalize/improve conditions on which Guardrails are suspended Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Make sure tablePropertiesDisallowed Guardrail is also applied to MV creation/alteration CDB-3: Fix remaining test failures CDB-3: Fix CompactionStressTest / CQLSSTableWriterTest Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Add missing guardrail settings to cassandra.yaml and missing enabled check for tables limit GR Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * STAR-409 Fix ClientRequestSizeMetricsTest by ensuring session connected before clearing metrics * STAR-409 Add call to SSTableWriter.guardCollectionSize in PartitionWriter.writePartition Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> (cherry picked from commit 0676af0) (cherry picked from commit d187a01) (cherry picked from commit 4c99b0f) (cherry picked from commit 2dfc860) (cherry picked from commit 604b4ba) (cherry picked from commit 9ea0199) (cherry picked from commit d9a84f0) (cherry picked from commit 29c90ac) (cherry picked from commit 2eae0a6) STAR-409 Fix most compile problems from previous cherry-pick STAR-409 Fix calls to ModificationStatement.validateConsistency in BatchStatement and ModificationStatement; Do not call (CC version) Guardrails.disallowedWriteConsistencies.ensureAllowed in ConsistencyLevel validateForWrite and validateCounterForWrite because BatchStatement and ModificationStatement already call Guardrails.writeConsistencyLevels.guard before calling validateConsistency. STAR-409 Fix ConsistencyLevel validateForCas and validateForCasCommit to use OS writeConsistenctLevels guardrail in place of CC disallowedWriteConsistencies. STAR-409 Add DatabaseDescriptor.isApplyDbaasDefaults accidentally deleted during cherry-pick STAR-409 Delete CC version o.a.c.guardrails tests that already exist in OS under o.a.c.db.guardrails STAR-409 Delete CC GuardrailsConfig
Yukei7
pushed a commit
to Yukei7/cassandra
that referenced
this pull request
Nov 26, 2025
…in system_schema Summary: This diff is required to support the migration to 2.1.33 (OSS auto-repair). 2.1.33 will introduce a new column in the `system_schema.tables` and `system_schema.views` tables which means that the SSTables for these tables would become backwards-incompatible. As a result, we would not be able to roll back to our in-house auto-repair framework. This diff introduces a dummy auto_repair column to said tables which will allow us to safely roll back from 2.1.33 to 2.1.32. Test Plan: **Upgrade from 2.1.31 to 2.1.33** Goal state migration wf: https://odin.uberinternal.com/cadence/execution/odin-dca1/40189802-731d-41f4-90ae-561dd6880bd3/72fac9dc-8e70-4d0b-b776-fce04deb6309 Auto-repair goal state before: ``` { "auto_repair": { "enabled": true, "global_settings": { "ignore_keyspaces": "\\b(?!system_auth\\b)system\\w+|.*test.*|health|pingless", "number_of_subranges": 32 }, "repair_task_min_duration": "0s", "repair_type_overrides": { "bootstrap": { "abort_auto_repair_after": "60m", "enabled": true, "initial_scheduler_delay_in_sec": 5, "min_repair_interval_in_hours": -1 }, "full": { "enabled": true, "min_repair_interval_in_hours": 240 }, "incremental": { "enabled": true, "min_repair_interval_in_hours": 4, "number_of_subranges": 1 }, "paxos_cleanup": { "enabled": true, "min_repair_interval_in_hours": 6, "repair_by_keyspace": true } } } } ``` Auto-repair goal state after: ``` { "auto_repair": { "enabled": true, "global_settings": { "repair_by_keyspace": false, "token_range_splitter": { "class_name": "org.apache.cassandra.repair.autorepair.FixedSplitTokenRangeSplitter", "parameters": { "number_of_subranges": 32 } } }, "repair_task_min_duration": "0s", "repair_type_overrides": { "bootstrap": { "abort_auto_repair_after": "60m", "enabled": true, "initial_scheduler_delay": "5s", "min_repair_interval": "0h" }, "full": { "enabled": true, "min_repair_interval": "240h" }, "incremental": { "enabled": true, "min_repair_interval": "4h", "token_range_splitter": { "class_name": "org.apache.cassandra.repair.autorepair.FixedSplitTokenRangeSplitter", "parameters": { "number_of_subranges": 1 } } }, "paxos_cleanup": { "enabled": true, "min_repair_interval": "6h", "repair_by_keyspace": true } } } } ``` Verification for metrics: {F1148850197} **Roll back from 2.1.33 to 2.1.32** Auto-repair goal state remains unchanged. Verification that a rolled back node can load all SSTables: {F1148856385} Verification that a rolled back node can continue running repair: {F1148880539} Comparison of `nodetool getautorepairconfig` output with the 2.1.33 goal state: | Configuration Setting | 2.1.32 | 2.1.33 | |----------------------|-------------|-------------| | **General Repair Scheduler Configuration** | | | | Repair eligibility check interval | **300 seconds** | **5m** | | TTL for repair history for dead nodes | **7200 seconds** | **2h (history_clear_delete_hosts_buffer_interval)** | | Max retries for repair | **3** | **N/A (defined per repair type)** | | Retry backoff | **60 seconds** | **N/A (defined per repair type)** | | Min repair job duration | **0 seconds** | **0s (repair_task_min_duration)** | | **Full Repair Configuration** | | | | Enabled | true | true | | Repair by keyspace | false | false | | Minimum repair interval | **1 hours** | **1h** | | Repair threads | 1 | 1 | | Number of repair subranges | **1** | **32 (token_range_splitter.number_of_subranges)** | | Ignore keyspaces | **`\b(?!system_(auth&apache#124;distributed&apache#124;auto_repair)\b)system($&apache#124;_.*)&apache#124;.*staging.*&apache#124;.*test.*&apache#124;health&apache#124;pingless`** | **N/A** | | Repair only keyspaces | **(empty)** | **N/A** | | Priority hosts | **(empty)** | **N/A** | | SSTable count higher threshold | 10000 | 10000 | | Table max repair time | **21600 sec** | **6h** | | Ignore datacenters | **(empty)** | **[]** | | Datacenter groups | **(empty)** | **N/A** | | Repair primary token-range | true | true | | Number of parallel repairs within group | 5 | 5 | | Percentage of parallel repairs within group | 5 | 5 | | MV repair enabled | true | true | | Initial scheduler delay | **900 seconds** | **5m** | | Allow parallel replica repair | **N/A** | **true** | | Allow parallel replica repair across schedules | **N/A** | **true** | | Repair session timeout | **N/A** | **3h** | | Force repair new node | **N/A** | **false** | | Repair max retries | **N/A** | **3** | | Repair retry backoff | **N/A** | **30s** | | Token range splitter | **N/A** | **org.apache.cassandra.repair.autorepair.FixedSplitTokenRangeSplitter** | | **Incremental Repair Configuration** | | | | Enabled | true | true | | Repair by keyspace | false | false | | Minimum repair interval | **4 hours** | **4h** | | Repair threads | 1 | 1 | | Number of repair subranges | 1 | 1 (token_range_splitter.number_of_subranges) | | Ignore keyspaces | **`\b(?!system_(auth&apache#124;distributed&apache#124;auto_repair)\b)system($&apache#124;_.*)&apache#124;.*staging.*&apache#124;.*test.*&apache#124;health&apache#124;pingless`** | **N/A** | | Repair only keyspaces | **(empty)** | **N/A** | | Priority hosts | **(empty)** | **N/A** | | SSTable count higher threshold | 10000 | 10000 | | Table max repair time | **21600 sec** | **6h** | | Ignore datacenters | **(empty)** | **[]** | | Datacenter groups | **(empty)** | **N/A** | | Repair primary token-range | true | true | | Number of parallel repairs within group | 5 | 5 | | Percentage of parallel repairs within group | 5 | 5 | | MV repair enabled | true | true | | Initial scheduler delay | **900 seconds** | **5m** | | Allow parallel replica repair | **N/A** | **false** | | Allow parallel replica repair across schedules | **N/A** | **true** | | Repair session timeout | **N/A** | **3h** | | Force repair new node | **N/A** | **false** | | Repair max retries | **N/A** | **3** | | Repair retry backoff | **N/A** | **30s** | | Token range splitter | **N/A** | **org.apache.cassandra.repair.autorepair.FixedSplitTokenRangeSplitter** | | **Preview Repaired Configuration** | | | | Enabled | false | false | | Repair by keyspace | **false** | **N/A** | | Minimum repair interval | **24 hours** | **N/A** | | Repair threads | **1** | **N/A** | | Number of repair subranges | **1** | **N/A** | | Ignore keyspaces | **`\b(?!system_(auth&apache#124;distributed&apache#124;auto_repair)\b)system($&apache#124;_.*)&apache#124;.*staging.*&apache#124;.*test.*&apache#124;health&apache#124;pingless`** | **N/A** | | (Other settings) | **(Same as incremental)** | **N/A** | | **Paxos Cleanup Configuration** | | | | Enabled | true | true | | Repair by keyspace | true | true | | Minimum repair interval | **6 hours** | **6h** | | Repair threads | 1 | 1 | | Number of repair subranges | **1** | **32 (token_range_splitter.number_of_subranges)** | | Ignore keyspaces | **`\b(?!system_(auth&apache#124;distributed&apache#124;auto_repair)\b)system($&apache#124;_.*)&apache#124;health`** | **N/A** | | Repair only keyspaces | **(empty)** | **N/A** | | Priority hosts | **(empty)** | **N/A** | | SSTable count higher threshold | 10000 | 10000 | | Table max repair time | **21600 sec** | **6h** | | Ignore datacenters | **(empty)** | **[]** | | Datacenter groups | **(empty)** | **N/A** | | Repair primary token-range | true | true | | Number of parallel repairs within group | 5 | 5 | | Percentage of parallel repairs within group | 5 | 5 | | MV repair enabled | true | true | | Initial scheduler delay | **900 seconds** | **5m** | | Allow parallel replica repair | **N/A** | **false** | | Allow parallel replica repair across schedules | **N/A** | **true** | | Repair session timeout | **N/A** | **3h** | | Force repair new node | **N/A** | **false** | | Repair max retries | **N/A** | **3** | | Repair retry backoff | **N/A** | **30s** | | Token range splitter | **N/A** | **org.apache.cassandra.repair.autorepair.FixedSplitTokenRangeSplitter** | | **Bootstrap Configuration** | | | | Enabled | true | true | | Repair by keyspace | false | false | | Minimum repair interval | **0 hours** | **0h** | | Repair threads | 1 | 1 | | Number of repair subranges | **1** | **32 (token_range_splitter.number_of_subranges)** | | Ignore keyspaces | **`\b(?!system_(auth&apache#124;distributed&apache#124;auto_repair)\b)system($&apache#124;_.*)&apache#124;.*staging.*&apache#124;.*test.*&apache#124;health&apache#124;pingless`** | **N/A** | | Repair only keyspaces | **(empty)** | **N/A** | | Priority hosts | **(empty)** | **N/A** | | SSTable count higher threshold | 10000 | 10000 | | Table max repair time | **21600 sec** | **6h** | | Ignore datacenters | **(empty)** | **[]** | | Datacenter groups | **(empty)** | **N/A** | | Repair primary token-range | true | true | | Number of parallel repairs within group | 5 | 5 | | Percentage of parallel repairs within group | 5 | 5 | | MV repair enabled | true | true | | Initial scheduler delay | **5 seconds** | **5s** | | Abort auto repair after | 60m | 60m | | Allow parallel replica repair | **N/A** | **false** | | Allow parallel replica repair across schedules | **N/A** | **true** | | Repair session timeout | **N/A** | **3h** | | Force repair new node | **N/A** | **false** | | Repair max retries | **N/A** | **3** | | Repair retry backoff | **N/A** | **30s** | | Token range splitter | **N/A** | **org.apache.cassandra.repair.autorepair.FixedSplitTokenRangeSplitter** | Reviewers: O2017 Cassandra Service, #ldap_cassandra-super-users, ureview, runtian Reviewed By: O2017 Cassandra Service, #ldap_cassandra-super-users, runtian Subscribers: yuqiy Tags: #has_java JIRA Issues: SO-50809 Differential Revision: https://code.uberinternal.com/D18957679
michaelsembwever
pushed a commit
to thelastpickle/cassandra
that referenced
this pull request
Jan 7, 2026
* CDB-15: Introduce basic framework for Guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> * CDB-18: Introduce Guardrails for MV/2i Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-19: Introduce guardrails for Table number and Table properties Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-22: Introduce disallowed write consistencies guardrail Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-21: Introduce Guardrail for partition size Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-20: Introduce Guardrail for partition keys in a SELECT Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * CDB-17: Introduce Guardrails for CollectionSizeWarnThreshold / FieldsPerUDT / ItemsPerCollection Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Redact guardrail user data in error messages that are passed to listeners CDB-16: Introduce disk usage guardrails Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> * CDB-30: Add Guardrail for cartesian product of IN queries Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-31: Add guardrail for user-provided timestamps CDB-23: Introduce Guardrail for read-before-write list operations CDB-3: Generalize/improve conditions on which Guardrails are suspended Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Make sure tablePropertiesDisallowed Guardrail is also applied to MV creation/alteration CDB-3: Fix remaining test failures CDB-3: Fix CompactionStressTest / CQLSSTableWriterTest Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> * CDB-3: Add missing guardrail settings to cassandra.yaml and missing enabled check for tables limit GR Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> * STAR-409 Fix ClientRequestSizeMetricsTest by ensuring session connected before clearing metrics * STAR-409 Add call to SSTableWriter.guardCollectionSize in PartitionWriter.writePartition Co-authored-by: Eduard Tudenhöfner <etudenhoefner@gmail.com> Co-authored-by: Sylvain Lebresne <lebresne@gmail.com> Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com> Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com> Co-authored-by: Andrés de la Peña <adelapena@users.noreply.github.com> (cherry picked from commit 0676af0) (cherry picked from commit d187a01) (cherry picked from commit 4c99b0f) (cherry picked from commit 2dfc860) (cherry picked from commit 604b4ba) (cherry picked from commit 9ea0199) (cherry picked from commit d9a84f0) (cherry picked from commit 29c90ac) (cherry picked from commit 2eae0a6) STAR-409 Fix most compile problems from previous cherry-pick STAR-409 Fix calls to ModificationStatement.validateConsistency in BatchStatement and ModificationStatement; Do not call (CC version) Guardrails.disallowedWriteConsistencies.ensureAllowed in ConsistencyLevel validateForWrite and validateCounterForWrite because BatchStatement and ModificationStatement already call Guardrails.writeConsistencyLevels.guard before calling validateConsistency. STAR-409 Fix ConsistencyLevel validateForCas and validateForCasCommit to use OS writeConsistenctLevels guardrail in place of CC disallowedWriteConsistencies. STAR-409 Add DatabaseDescriptor.isApplyDbaasDefaults accidentally deleted during cherry-pick STAR-409 Delete CC version o.a.c.guardrails tests that already exist in OS under o.a.c.db.guardrails STAR-409 Delete CC GuardrailsConfig
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.