Skip to content
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

Changes to have ddl and count profiles #785

Merged
merged 4 commits into from
Jan 10, 2024
Merged

Changes to have ddl and count profiles #785

merged 4 commits into from
Jan 10, 2024

Conversation

maheshrajamani
Copy link
Contributor

@maheshrajamani maheshrajamani commented Jan 10, 2024

What this PR does:
Changes to have ddl and count profiles

Which issue(s) this PR fixes:
Fixes #783

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@maheshrajamani maheshrajamani requested a review from a team as a code owner January 10, 2024 19:08
@@ -1152,7 +1152,10 @@ public void orderedDuplicateDocumentNoNamespace() {
"_id": "doc5",
"username": "user5"
}
]
],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side effect of a previous merged PR. Need to refactor the test case.

@jeffreyscarpenter
Copy link
Contributor

@tatu-at-datastax can you have a look as well?

}

count {
basic.request.timeout = 60 seconds
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds bit high (as does basic request timeout of 20 secs), but easy enough to change later on I suppose.

Copy link
Contributor

@tatu-at-datastax tatu-at-datastax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: actual timeout levels chosen might be good to discuss but that can be done later on (lower timeouts can prevent server-side overload/meltdown by load shedding).

@tatu-at-datastax
Copy link
Contributor

@tatu-at-datastax can you have a look as well?

Done.

@maheshrajamani maheshrajamani merged commit ba41932 into main Jan 10, 2024
2 checks passed
@maheshrajamani maheshrajamani deleted the query-profiles branch January 10, 2024 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configurable CQL query timeouts by query type
3 participants