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

[Breaking Change] Remove H2 as storage option permanently. #12909

Merged
merged 9 commits into from
Dec 30, 2024
Merged

Conversation

wu-sheng
Copy link
Member

  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
  • Update the CHANGES log.
  • [Breaking Change] Remove H2 as storage option permanently. BanyanDB 0.8(OAP 10.2 required) is easy, stable and
    production-ready. Don't need H2 as default storage anymore.
  • I have asked @mrproliu 's help to remove existing H2 e2e and keep banyandb as default storage to test all features.

FYI @apache/skywalking-committers I keep deceasing the extra maintenance payload of us. BanyanDB, elasticsearch/opensearch and mysql/postgresql are our main support now.

@wu-sheng wu-sheng added the backend OAP backend related. label Dec 29, 2024
@wu-sheng wu-sheng added this to the 10.2.0 milestone Dec 29, 2024
@wu-sheng wu-sheng marked this pull request as draft December 29, 2024 15:24
@wu-sheng
Copy link
Member Author

Many H2 relative e2e will fail. Wait for fixing.

@wu-sheng wu-sheng requested a review from wankai123 December 29, 2024 15:25
@kezhenxu94
Copy link
Member

Unless we totally remove all supports for SQL databases, it doesn't seem to reduce that much maintenance work by only removing H2, but I see it increases development workload, now you have to start a database first.

@wu-sheng
Copy link
Member Author

wu-sheng commented Dec 30, 2024

Unless we totally remove all supports for SQL databases, it doesn't seem to reduce that much maintenance work by only removing H2, but I see it increases development workload, now you have to start a database first.

As I am answering most of the community questions, and k8s is the most popular deployment platform, I am suffering that payload by H2 can't work in k8s and new users don't predict for that. By maintenance work, I don not mean development.

@wu-sheng
Copy link
Member Author

mysql and pg are being considered, I actually want to do that after some discussions.

@@ -284,7 +284,7 @@ public static Span buildSpanFromRecord(ZipkinSpanRecord record) {
//Build remoteEndpoint
Endpoint.Builder remoteEndpoint = Endpoint.newBuilder();
remoteEndpoint.serviceName(record.getRemoteEndpointServiceName());
if (!StringUtil.isEmpty(record.getLocalEndpointIPV4())) {
if (!StringUtil.isEmpty(record.getRemoteEndpointIPV4())) {
Copy link
Member Author

Choose a reason for hiding this comment

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

fyi @wankai123 This seems to be an existing bug.

@@ -37,7 +37,7 @@ cases:
expected: expected/func-OP.yml

# topN-OP-service Global
- query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(service_sla,3,des)/100"
- query: swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql metrics exec --expression="top_n(service_resp_time,3,des)"
Copy link
Member Author

Choose a reason for hiding this comment

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

@wankai123 sla e2e sorting is not predictable, so, we changed to another metric.

@wu-sheng wu-sheng marked this pull request as ready for review December 30, 2024 10:52
wankai123
wankai123 previously approved these changes Dec 30, 2024
@wu-sheng wu-sheng merged commit 5be35ba into master Dec 30, 2024
160 checks passed
@wu-sheng wu-sheng deleted the remove-h2 branch December 30, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend OAP backend related.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants