-
Notifications
You must be signed in to change notification settings - Fork 43
Remove DSE Graph support and TinkerPop integration #1036
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
base: scylla-4.x
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -125,131 +125,13 @@ public enum DseDriverOption implements DriverOption { | |
| CONTINUOUS_PAGING_METRICS_SESSION_CQL_REQUESTS_INTERVAL( | ||
| "advanced.metrics.session.continuous-cql-requests.refresh-interval"), | ||
|
|
||
| /** | ||
| * The read consistency level to use for graph statements. | ||
| * | ||
| * <p>Value type: {@link String} | ||
| */ | ||
| GRAPH_READ_CONSISTENCY_LEVEL("basic.graph.read-consistency-level"), | ||
| /** | ||
| * The write consistency level to use for graph statements. | ||
| * | ||
| * <p>Value type: {@link String} | ||
| */ | ||
| GRAPH_WRITE_CONSISTENCY_LEVEL("basic.graph.write-consistency-level"), | ||
| /** | ||
| * The traversal source to use for graph statements. | ||
| * | ||
| * <p>Value type: {@link String} | ||
| */ | ||
| GRAPH_TRAVERSAL_SOURCE("basic.graph.traversal-source"), | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Blocker] 🔴 Public enum constants removed with no deprecation cycle, in a 4th-component version ( Beyond source compatibility: revapi will not catch it here: the verify log shows Suggest keeping the constants |
||
| /** | ||
| * The sub-protocol the driver will use to communicate with DSE Graph, on top of the Cassandra | ||
| * native protocol. | ||
| * | ||
| * <p>Value type: {@link String} | ||
| */ | ||
| GRAPH_SUB_PROTOCOL("advanced.graph.sub-protocol"), | ||
| /** | ||
| * Whether a script statement represents a system query. | ||
| * | ||
| * <p>Value type: boolean | ||
| */ | ||
| GRAPH_IS_SYSTEM_QUERY("basic.graph.is-system-query"), | ||
| /** | ||
| * The name of the graph targeted by graph statements. | ||
| * | ||
| * <p>Value type: {@link String} | ||
| */ | ||
| GRAPH_NAME("basic.graph.name"), | ||
| /** | ||
| * How long the driver waits for a graph request to complete. | ||
| * | ||
| * <p>Value-type: {@link java.time.Duration Duration} | ||
| */ | ||
| GRAPH_TIMEOUT("basic.graph.timeout"), | ||
|
|
||
| /** | ||
| * Whether to send events for Insights monitoring. | ||
| * | ||
| * <p>Value type: boolean | ||
| */ | ||
| MONITOR_REPORTING_ENABLED("advanced.monitor-reporting.enabled"), | ||
|
|
||
| /** | ||
| * Whether to enable paging for Graph queries. | ||
| * | ||
| * <p>Value type: {@link String} | ||
| */ | ||
| GRAPH_PAGING_ENABLED("advanced.graph.paging-enabled"), | ||
|
|
||
| /** | ||
| * The page size for Graph continuous paging. | ||
| * | ||
| * <p>Value type: int | ||
| */ | ||
| GRAPH_CONTINUOUS_PAGING_PAGE_SIZE("advanced.graph.paging-options.page-size"), | ||
|
|
||
| /** | ||
| * The maximum number of Graph continuous pages to return. | ||
| * | ||
| * <p>Value type: int | ||
| */ | ||
| GRAPH_CONTINUOUS_PAGING_MAX_PAGES("advanced.graph.paging-options.max-pages"), | ||
| /** | ||
| * The maximum number of Graph continuous pages per second. | ||
| * | ||
| * <p>Value type: int | ||
| */ | ||
| GRAPH_CONTINUOUS_PAGING_MAX_PAGES_PER_SECOND( | ||
| "advanced.graph.paging-options.max-pages-per-second"), | ||
| /** | ||
| * The maximum number of Graph continuous pages that can be stored in the local queue. | ||
| * | ||
| * <p>Value type: int | ||
| */ | ||
| GRAPH_CONTINUOUS_PAGING_MAX_ENQUEUED_PAGES("advanced.graph.paging-options.max-enqueued-pages"), | ||
| /** | ||
| * The largest latency that we expect to record for graph requests. | ||
| * | ||
| * <p>Value-type: {@link java.time.Duration Duration} | ||
| */ | ||
| METRICS_SESSION_GRAPH_REQUESTS_HIGHEST("advanced.metrics.session.graph-requests.highest-latency"), | ||
| /** | ||
| * The number of significant decimal digits to which internal structures will maintain for graph | ||
| * requests. | ||
| * | ||
| * <p>Value-type: int | ||
| */ | ||
| METRICS_SESSION_GRAPH_REQUESTS_DIGITS( | ||
| "advanced.metrics.session.graph-requests.significant-digits"), | ||
| /** | ||
| * The interval at which percentile data is refreshed for graph requests. | ||
| * | ||
| * <p>Value-type: {@link java.time.Duration Duration} | ||
| */ | ||
| METRICS_SESSION_GRAPH_REQUESTS_INTERVAL( | ||
| "advanced.metrics.session.graph-requests.refresh-interval"), | ||
| /** | ||
| * The largest latency that we expect to record for graph requests. | ||
| * | ||
| * <p>Value-type: {@link java.time.Duration Duration} | ||
| */ | ||
| METRICS_NODE_GRAPH_MESSAGES_HIGHEST("advanced.metrics.node.graph-messages.highest-latency"), | ||
| /** | ||
| * The number of significant decimal digits to which internal structures will maintain for graph | ||
| * requests. | ||
| * | ||
| * <p>Value-type: int | ||
| */ | ||
| METRICS_NODE_GRAPH_MESSAGES_DIGITS("advanced.metrics.node.graph-messages.significant-digits"), | ||
| /** | ||
| * The interval at which percentile data is refreshed for graph requests. | ||
| * | ||
| * <p>Value-type: {@link java.time.Duration Duration} | ||
| */ | ||
| METRICS_NODE_GRAPH_MESSAGES_INTERVAL("advanced.metrics.node.graph-messages.refresh-interval"), | ||
|
|
||
| /** | ||
| * The shortest latency that we expect to record for continuous requests. | ||
| * | ||
|
|
@@ -265,49 +147,6 @@ public enum DseDriverOption implements DriverOption { | |
| CONTINUOUS_PAGING_METRICS_SESSION_CQL_REQUESTS_SLO( | ||
| "advanced.metrics.session.continuous-cql-requests.slo"), | ||
|
|
||
| /** | ||
| * The shortest latency that we expect to record for graph requests. | ||
| * | ||
| * <p>Value-type: {@link java.time.Duration Duration} | ||
| */ | ||
| METRICS_SESSION_GRAPH_REQUESTS_LOWEST("advanced.metrics.session.graph-requests.lowest-latency"), | ||
| /** | ||
| * Optional service-level objectives to meet, as a list of latencies to track. | ||
| * | ||
| * <p>Value-type: {@link java.time.Duration Duration} | ||
| */ | ||
| METRICS_SESSION_GRAPH_REQUESTS_SLO("advanced.metrics.session.graph-requests.slo"), | ||
|
|
||
| /** | ||
| * The shortest latency that we expect to record for graph requests. | ||
| * | ||
| * <p>Value-type: {@link java.time.Duration Duration} | ||
| */ | ||
| METRICS_NODE_GRAPH_MESSAGES_LOWEST("advanced.metrics.node.graph-messages.lowest-latency"), | ||
| /** | ||
| * Optional service-level objectives to meet, as a list of latencies to track. | ||
| * | ||
| * <p>Value-type: {@link java.time.Duration Duration} | ||
| */ | ||
| METRICS_NODE_GRAPH_MESSAGES_SLO("advanced.metrics.node.graph-messages.slo"), | ||
| /** | ||
| * Optional list of percentiles to publish for graph-requests metric. Produces an additional time | ||
| * series for each requested percentile. This percentile is computed locally, and so can't be | ||
| * aggregated with percentiles computed across other dimensions (e.g. in a different instance). | ||
| * | ||
| * <p>Value type: {@link java.util.List List}<{@link Double}> | ||
| */ | ||
| METRICS_SESSION_GRAPH_REQUESTS_PUBLISH_PERCENTILES( | ||
| "advanced.metrics.session.graph-requests.publish-percentiles"), | ||
| /** | ||
| * Optional list of percentiles to publish for node graph-messages metric. Produces an additional | ||
| * time series for each requested percentile. This percentile is computed locally, and so can't be | ||
| * aggregated with percentiles computed across other dimensions (e.g. in a different instance). | ||
| * | ||
| * <p>Value type: {@link java.util.List List}<{@link Double}> | ||
| */ | ||
| METRICS_NODE_GRAPH_MESSAGES_PUBLISH_PERCENTILES( | ||
| "advanced.metrics.node.graph-messages.publish-percentiles"), | ||
| /** | ||
| * Optional list of percentiles to publish for continuous paging requests metric. Produces an | ||
| * additional time series for each requested percentile. This percentile is computed locally, and | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Minor] 🟡 Two things. This lands under
### 4.19.2, which is already released, while the working version is4.19.2.2-SNAPSHOT- anyone diffing 4.19.2 against its published artifact sees an entry that was not in it. And[improvement]puts a binary-breaking change (CqlSessionno longer implementsGraphSession, 20DseDriverOptionconstants deleted) in the same bucket as "Remove unnecessary locking in DefaultNettyOptions" - that tag is the signal users scan before a patch upgrade to decide whether they have to recompile.