instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
apache__skywalking-java__796
apache/skywalking-java
796
defect
eb4eb48b245bb7a10403dc04bfe67e6f787da171
32079d6414e83436207ef1bffb3ac2f5e409fbec
Add Spring RabbitMQ plugin
### Fix RabbitMQ trace disconnection and incomplete consumer trace stack (closes #13720) - [x] Add a unit test to verify that the fix works. - [x] Explain briefly why the bug exists and how to fix it. #### Bug Root Cause The original instrumentation method in the RabbitMQ plugin is executed in a dedicated thread ...
diff --git a/.github/workflows/plugins-jdk17-test.0.yaml b/.github/workflows/plugins-jdk17-test.0.yaml index 092fa2daae..74ae79f0fe 100644 --- a/.github/workflows/plugins-jdk17-test.0.yaml +++ b/.github/workflows/plugins-jdk17-test.0.yaml @@ -80,6 +80,7 @@ jobs: - jetty-11.x-scenario - jetty-10.x-...
6
6
3
[{"id": "G0", "claim": "The thread-name check in RabbitMQConsumerInterceptor (returning when the thread name contains \"springframework\") is fragile and unreliable and should be replaced, since thread names are not a contract and coupling the rabbitmq-plugin to Spring thread naming can silently break the original plug...
null
apache__skywalking-java__797
apache/skywalking-java
797
defect
f750006020249d29a21cae63ae50da67f182c6ab
4d1e2907d05fdc36aa1a056f63256470c3f8d057
Fix httpclient-5.x plugin injecting sw8 headers into ClickHouse HTTP requests
## Problem ClickHouse's HTTP interface (default port **8123**) rejects HTTP requests containing unknown headers, returning **HTTP 400 Bad Request**. When the SkyWalking Java agent is attached, the `httpclient-5.x` plugin intercepts every outbound Apache HttpClient 5 call and injects three propagation headers (`sw8`, ...
diff --git a/CHANGES.md b/CHANGES.md index 27e5c01fde..75d7e264ff 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,7 @@ Release Notes. * Added support for Lettuce reactive Redis commands. * Add Spring AI 1.x plugin and GenAI layer. +* Fix httpclient-5.x plugin injecting sw8 propagation headers into ClickHouse HT...
7
6
4
[{"id": "G0", "claim": "The regular-port tests should verify propagation header injection precisely (e.g. exactly times(3) or the specific sw8* header keys) for consistency with existing tests, instead of atLeastOnce() which could allow regressions where only 1 header is injected or the wrong headers are set.", "catego...
null
apache__skywalking-java__800
apache/skywalking-java
800
defect
ac0df43d7140e726eba9e5e5b1b75cf364c71dff
bd53bbd5c36d59493998ab7a243c8fe73151a028
fix: add PROPAGATION_EXCLUDE_PORTS to httpclient-4.x plugin
## Problem When the SkyWalking Java agent enhances an application that uses ClickHouse JDBC via HTTP (port 8123), the httpclient-4.x plugin unconditionally injects `sw8`, `sw8-correlation`, and `sw8-x` propagation headers into every outbound HTTP request. ClickHouse rejects requests containing unknown headers, returni...
diff --git a/apm-sniffer/apm-sdk-plugin/httpClient-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/httpClient/v4/HttpClientExecuteInterceptor.java b/apm-sniffer/apm-sdk-plugin/httpClient-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/httpClient/v4/HttpClientExecuteInterceptor.java index b02de707af....
4
3
3
[{"id": "G0", "claim": "The change may be unnecessary: PR #797 may already have fixed this for ClickHouse, and the ClickHouse 0.3.1 client may no longer be in use.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Javadoc example uses `plugin.httpclient.P...
null
apache__skywalking-java__81
apache/skywalking-java
81
defect
2557749617e4188b15c1f9f4e4462f422e241ed2
3b1b518f6dac0a3cbd11e85baf4077cc49adee3e
Fix <TracePathMatcher should match pattern "**" with paths end by "/">
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index 185505d467..ebba009830 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -14,6 +14,7 @@ Release Notes. * Avoid `ProfileTaskChannelService.addProfilingSnapshot` throw IllegalStateException(Queue full) * Increase `ProfileTaskChannelService.snapshotQueue` default size from 50 to 450...
2
2
2
[{"id": "G0", "claim": "The CI is failing and the author needs to fix it, apparently a code style issue.", "category": "style", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The author should verify the PR covers all the edge cases listed in the linked skywalking-java#72 discu...
null
apache__skywalking-java__83
apache/skywalking-java
83
defect
2ba2e1964de385d99c6b40b56ab03c00c0a581fe
8ac50b5ccf7b5f88755e625651a5eb1b296585f9
Add returnedObj expression support for apm-customize-enhance-plugin
### add returnedObj expression support for apm-customize-enhance-plugin - [ ] If this is non-trivial feature, paste the links/URLs to the design doc. - [x] Update the documentation to include this new feature. - [x] Tests(including UT, IT, E2E) are added to verify the new feature. - [ ] If it's UI related, attach t...
diff --git a/CHANGES.md b/CHANGES.md index 186467bb54..d8d5f5d216 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,7 @@ Release Notes. * Support 2.8 and 2.9 of pulsar client. * Add dubbo 3.x plugin. * Fix TracePathMatcher should match pattern "**" with paths end by "/" +* Add support `returnedObj` expression fo...
6
4
1
[{"id": "G0", "claim": "The XML example lines this pull request adds to Customize-enhance-trace.md are not formatted consistently with the surrounding lines.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change appears to make the configured ...
null
apache__skywalking-java__84
apache/skywalking-java
84
defect
bc90371daadf54cb0587c0e268db0a852a48d9a4
382d7beadd6b33f339b21a5c0508f5a733307e53
Enhance `returnedObj` expression to support Array, List and Map
### Enhance `returnedObj` expression to support Array, List and Map for apm-customize-enhance-plugin and `@Tag` - [ ] If this is non-trivial feature, paste the links/URLs to the design doc. - [x] Update the documentation to include this new feature. - [x] Tests(including UT, IT, E2E) are added to verify the new fe...
diff --git a/CHANGES.md b/CHANGES.md index d8d5f5d216..ebcc147761 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,6 +17,7 @@ Release Notes. * Add dubbo 3.x plugin. * Fix TracePathMatcher should match pattern "**" with paths end by "/" * Add support `returnedObj` expression for apm-customize-enhance-plugin +* Enhance...
2
2
1
[{"id": "G0", "claim": "The @Tag plugin should also get test coverage for the new returnedObj expression support.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGES.md entry is unnecessary because this change only enhances an unreleased feature,...
null
apache__skywalking-java__91
apache/skywalking-java
91
defect
634cf279a929e9edfbf9b560b0f5736c74f3e010
702b7f0e8678a6eca63f104d22e6337e90b45168
Feature/redis plugins config
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index aec786051f..eb2307cd5c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -21,6 +21,7 @@ Release Notes. * Compatible with the versions after dubbo-2.7.14 * Follow protocol grammar fix `GCPhrase -> GCPhase`. * Support ZGC GC time and count metric collect. (Require 9.0.0 OAP) +* Add...
4
3
2
[{"id": "G0", "claim": "TRACE_REDIS_PARAMETERS in the redisson plugin should be disabled (default false) rather than enabled (true) by default.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Now that the jedis and redisson scenarios activate trace_redis_...
null
apache__skywalking-php__19
apache/skywalking-php
19
defect
b3d138a7737868171d1a1712090940bb3600d5bd
1133c52ac9341831ca05df1d1aca365b6814287d
Add swoole support.
Swoole is a popular coroutine library in PHP, so it is better to support swoole.
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b649079..597408b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,6 +19,7 @@ on: push: branches: - master + - debug pull_request: branches: - "**" diff --git a/README.md b/README....
2
1
0
[{"id": "G0", "claim": "The comment above PLUGINS should be a normal line comment (`//`) instead of a doc comment (`///`).", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "There is a question whether the plugin will also support Coroutine\\Http\\Client, Cor...
null
apache__skywalking-php__63
apache/skywalking-php
63
defect
19975706472c3581132cfafa2f94f1e84c7f02fb
54854e349897e41c7383055e00004e96477bdd90
Fix parent endpoint and peer in segment ref and tag url in entry span.
1. Fix parent endpoint and peer in segment ref. In the past, the parent endpoint and peer of the sw8 header uses the endpoint and peer of the exit span by mistake (but it does not seem to affect the display of tracing on the UI). 3. Fix tag url in entry span.
diff --git a/src/plugin/plugin_curl.rs b/src/plugin/plugin_curl.rs index 75577cd..93ce2a4 100644 --- a/src/plugin/plugin_curl.rs +++ b/src/plugin/plugin_curl.rs @@ -404,8 +404,13 @@ impl CurlPlugin { } fn inject_sw_header(request_id: Option<i64>, ch: ZVal, info: &CurlInfo) -> crate::Result<()> { - le...
1
1
1
[{"id": "G0", "claim": "inject_sw_header should not assume the entry span exists — when a trace starts from a timer/scheduler or the plugin does not cover the entry, it should fall back to the first span, and the endpoint should be retrieved through a dedicated method (e.g. get_primary_span) rather than hardcoding req_...
null
apache__skywalking-php__64
apache/skywalking-php
64
defect
9fa0827090883031fd8060f223281e3fc492b11f
365d4ace3eb1f3bf0f848f8d1e6211ecd47aee0a
Add amqplib plugin for producer.
- [x] Add amqplib plugin. - [x] Refactor `try_get_sw_header` method. - [x] Add integration tests. - [x] Update documents.
diff --git a/README.md b/README.md index 0d39aae..c3bfb77 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ SkyWalking PHP Agent requires SkyWalking 8.4+ and PHP 7.2+ * [ ] [php-amqp](https://github.com/php-amqp/php-amqp) * [ ] [php-rdkafka](https://github.com/arnaud-lb/php-rdkafka) * [x] [predis](https...
2
2
1
[{"id": "G0", "claim": "The README's supported-libraries entry for php-amqplib should note that the plugin covers the message-queuing producer side.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README refers to amqp generally, but the plugin...
null
apache__skywalking-php__9
apache/skywalking-php
9
defect
59e6a4a5c7167b2db10ab76fc1d77e47393465b8
7988ce5430fbde6ad241480f9352d9207555822d
Support MacOS by repalce ipc-channel with socketpair, upgrade dependencies and improve CI.
1. Upgrade `phper`, with macos compat. 2. Setup CI for macos, and setup cache to speed up CI. 3. Add `required_status_checks` to `.asf.yaml`. 4. To support MacOS, I replace `ipc-channel` with std `UnixDatagram::pair`, because there are some bugs in `ipc-channel` when target os is MacOS.
diff --git a/.asf.yaml b/.asf.yaml index 7b128c8..f0fd006 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -30,6 +30,12 @@ github: rebase: false protected_branches: master: + required_status_checks: + strict: true + contexts: + - license + - pecl + - required ...
2
2
2
[{"id": "G0", "claim": "The `required` job must explicitly check the results of its needed jobs, because skipped or cancelled jobs would otherwise still let it pass.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `pecl` entry under required_stat...
null
apache__skywalking__12193
apache/skywalking
12,193
defect
a63601318d802ef7f2f520758725824d317385cf
6fe8349b325e8cf9cf31a68af95c0856f569d307
MQE support `sort_values` and `sort_label_values` functions.
- [ ] If this is non-trivial feature, paste the links/URLs to the design doc. - [X] Update the documentation to include this new feature. - [X] Tests(including UT, IT, E2E) are added to verify the new feature. - [ ] If it's UI related, attach the screenshots below. - [X] If this pull request closes/resolves/fixes...
diff --git a/docs/en/api/metrics-query-expression.md b/docs/en/api/metrics-query-expression.md index 95a7d88060ef..4c7771da5e58 100644 --- a/docs/en/api/metrics-query-expression.md +++ b/docs/en/api/metrics-query-expression.md @@ -232,9 +232,8 @@ Expression: top_n(<metric_name>, <top_number>, <order>) ``` -`top_num...
1
1
0
[{"id": "G0", "claim": "The documentation should be more specific about how label values are compared when they are strings (String#compare), rather than only saying `natural sort order` with numeric-looking examples.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__skywalking__12633
apache/skywalking
12,633
defect
b857fb009116e13450c981c76cc5d9170a76f070
7dd011c1b3d1ce62af89bf42efa1496464edb796
BanyanDB: support using native term searching for `keyword` in query `findEndpoint` and `getAlarm`.
- [X] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #12592. - [X] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 79b9ae75795d..378b56e607c9 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -69,6 +69,7 @@ * Add SkyWalking Java Agent self observability dashboard. * Add Component ID(5022) for the GoFrame framework. * Bump up prot...
1
1
0
[{"id": "G0", "claim": "The `analyzer` attribute of the new `@BanyanDB.MatchQuery` annotation should have no default value so users must choose the analyzer explicitly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__skywalking__12895
apache/skywalking
12,895
defect
82967c9e9ac18f5ed9190ba993cfe7853c91af76
c606ff61e9861806e61d78d9e76f20cd391ac923
Add ITVersion for helping management the versions in IT
Add a new IT module to help manage the versions in the IT. When some modules are needed to do IT, this module can be introduced to obtain the version. By default, it will first determine whether there is a configuration with an **INTEGRATION_** prefix, if so, it will use that. Otherwise, it will use the default configu...
diff --git a/oap-server/server-library/library-integration-test/pom.xml b/oap-server/server-library/library-integration-test/pom.xml new file mode 100644 index 000000000000..7d80e79210ee --- /dev/null +++ b/oap-server/server-library/library-integration-test/pom.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"...
2
1
0
[{"id": "G0", "claim": "readingEnv resolves the env file relative to the project root found via user.dir/mvnw, which may not work when the IT is run from a maven sub module path or separately in an IDE.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
apache__skywalking__13405
apache/skywalking
13,405
defect
30702c77aaa10a5a1a3c0bbcdd06c664ccaf69f7
21fc0e4bbfb279ad9f4951a7ce15e8f1c77874fc
Add self obs metrics for L1/L2 queue and persistent cache.
1. Self Observability: add `metrics_aggregation_queue_used_percentage` and `metrics_persistent_collection_cached_size` metrics for the OAP server. 2. [Break Change] MQE function `sort_values` sorts according to the aggregation result and labels rather than the simple time series values. 3. Fix `MetricsPersistentWorke...
diff --git a/docs/en/api/metrics-query-expression.md b/docs/en/api/metrics-query-expression.md index e96e0f2c1477..46de8e51249a 100644 --- a/docs/en/api/metrics-query-expression.md +++ b/docs/en/api/metrics-query-expression.md @@ -440,19 +440,42 @@ TIME_SERIES_VALUES. ## Sort Operation ### SortValues Operation -Sor...
4
4
0
[{"id": "G0", "claim": "The queue buffer size calculation in MetricsPersistentWorkerMin.PersistentConsumer.consume is performed on every consume call and should be cached since the buffer size is typically static during runtime.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
apache__skywalking__13414
apache/skywalking
13,414
defect
bf04afdb2a841c60d5e27f5a9fc62d0879a5600c
88d2109ee55f650bc540310172bbf0d017419b6a
Optimize metrics aggregate/persistent worker: seperate `OAL` and `MAL` workers and consume pools, and make the consumer thread sleep when no data in.
- [ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #<issue number>. - [X] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md). Optimize metrics aggregate/persistent worker: seperate OAL and MAL workers and consume ...
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index d128827e6e6a..a31e418bf290 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -50,6 +50,7 @@ * GraphQL API: metadata, topology, log and trace support query by name. * [Break Change] MQE function `sort_values` sorts acc...
6
5
0
[{"id": "G0", "claim": "The magic number 1.5 in MetricsAggregateOALWorker's pool size should be extracted as a named constant to make the scaling factor explicit.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The expression BulkConsumePool.Crea...
null
apache__skywalking__13514
apache/skywalking
13,514
defect
c48cdf3c4d20bf16c6218da1a35f288dcc4629f3
4f743510779c24fa3e6595cc8e623ad57e613b8e
Aggregate slow statement records by service dimension
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 470752b29ed1..ec986593d43b 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -101,6 +101,7 @@ * Bump up netty to 4.2.5.Final. * BanyanDB: fix log query missing order by condition, and fix missing service id condition ...
5
3
2
[{"id": "G0", "claim": "The new Slow Statements widget in the general-service UI template is hard-coded (type \"SlowStatements\") and should instead bind an expression like the example wu-sheng shared, since nothing should be hard-coded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i...
null
apache__skywalking__13544
apache/skywalking
13,544
defect
b81ef1940dcf83c72994af7a24e22014d7f0927b
f0097b4ecb4c858e2bd8e5792f252e357c45a4f5
Self Observability: add BanyanDB and Elasticsearch write latency metrics and dashboards
And Fix `Fluent Bit` dead links. - [X] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #13441. - [X] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 7c88abdbf773..48a0984adfff 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -106,6 +106,7 @@ * BanyanDB: fix when setting `@BanyanDB.TimestampColumn`, the column should not be indexed. * OAP Self Observability: make ...
2
2
1
[{"id": "G0", "claim": "There is an extra space between 'public' and 'BulkProcessorBuilder' in the bulkMetrics builder method declaration; it should be a single space.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The bulk metrics timer should ...
null
apache__skywalking__13581
apache/skywalking
13,581
defect
cfbb00d1fed0eba4bee4a46ee7c1b4b2b4a3c8f7
cabec6ec52d704b651cb9c8d7aee54f14d51a59b
Polish alarm recovery logic.
The main improvement is if the alarm is still in the silence period, change the status to OBSERVING_RECOVERY rather than RECOVERY. Because during the silence period, the alarm will not trigger again.
diff --git a/docs/en/setup/backend/backend-alarm.md b/docs/en/setup/backend/backend-alarm.md index 60a60eaae8a2..b2d90dde5588 100644 --- a/docs/en/setup/backend/backend-alarm.md +++ b/docs/en/setup/backend/backend-alarm.md @@ -40,7 +40,8 @@ The metrics names in the expression could be found in the [list of all potentia...
2
2
0
[{"id": "G0", "claim": "The state-diagram transition conditions are incomplete: the edges into OBSERVING_RECOVERY should read 'in recovery window or in silence period' and the edges into RECOVERED should read 'not in recovery window and not in silence period', because the code also gates on silenceCountdown.", "categor...
null
apache__skywalking__13616
apache/skywalking
13,616
defect
133cbc6d20fea9fe49023fd5e02fdb0dc38efcf3
8b0c674b540fdb6d41ab30573218d3d106eaef73
Fix range matrix and scalar binary operation in PromQL
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index c81121fd8df6..feba6cc0f5cd 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -10,6 +10,7 @@ * Fix BrowserWebVitalsPerfData `clsTime` to `cls` and make it double type. * Init `log-mal-rules` at module provider start st...
1
1
0
[{"id": "G0", "claim": "Please fix the code style of the pull request's changes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__skywalking__13624
apache/skywalking
13,624
defect
0a1c214ce495e9fbc6cd2d9e2a31b40f0482dadb
457d7bdf8f1588af0b621b4f798cbaaa3bf7dbde
Add `LatestLabeledFunction` for meter.
- [ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #<issue number>. - [X] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index feba6cc0f5cd..9eac35f63847 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -11,6 +11,7 @@ * Init `log-mal-rules` at module provider start stage to avoid re-init for every LAL. * Fail fast if SampleFamily is empty af...
3
1
0
[{"id": "G0", "claim": "The inner class MaxLabeledStorageBuilder is misnamed for LatestLabeledFunction and should be renamed to LatestLabeledStorageBuilder to match the naming convention used by other meter functions in the codebase.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i...
null
apache__skywalking__13625
apache/skywalking
13,625
defect
71c469c9ce42a7290ea10e597952c78f169022c7
73c9c79a56b475b83411cd4d2b5396636600cd15
MAL Labeled metrics support additional attributes.
- [ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #<issue number>. - [X] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 9eac35f63847..ea1b50e00384 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -12,6 +12,7 @@ * Fail fast if SampleFamily is empty after MAL filter expression. * Fix range matrix and scalar binary operation in PromQL. ...
2
1
1
[{"id": "G0", "claim": "Remove the extra blank line after deserialize's serviceId assignment in AvgLabeledFunction.java so there is a single blank line, consistent with the other labeled function implementations.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "...
null
apache__skywalking__13671
apache/skywalking
13,671
defect
685ada392167fdc8a0b26d7ff97ff65d03eca8c8
8eb19c9528b2525b477a4359949c2ca957bd7426
Support Java 25 for build, test, and Docker publishing
### Feature Description This PR introduces comprehensive support for JDK 25 across the build system, CI, and Docker release workflows, while maintaining backward compatibility for JDK 11-21. **Changes:** 1. **Build Configuration (`pom.xml`):** * Upgraded `lombok` to `1.18.40` to support JDK 25. * Config...
diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml index c5bf734e54ab..de7889321983 100644 --- a/.github/workflows/publish-docker.yaml +++ b/.github/workflows/publish-docker.yaml @@ -85,6 +85,11 @@ jobs: SW_OAP_BASE_IMAGE: eclipse-temurin:21-jre TAG: ${{ env...
11
9
6
[{"id": "G0", "claim": "A unit test fails in CI under the JDK 25 build (the old Mockito 4.x / ByteBuddy 1.14 dependencies are incompatible with JDK 25) and should be verified locally and fixed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Module P...
null
apache__skywalking__13677
apache/skywalking
13,677
defect
95c03d52602a1ca5c62365aa7219919cab1cc8e9
79a52d3d0f800a7b7fa70df59cea70ad808e08b9
PromQL service: fix time parse issue when using RFC3339 time format for querying.
now, support the following format: ``` "2026-01-20T03:27:18Z", "2026-01-20T03:27:18.0Z", "2026-01-20T03:27:18.000Z", "2026-01-20T03:27:18.123Z", "2026-01-20T11:27:18+08:00", "2026-01-20T11:27:18.0+08:00", "2026-01-20T11:27:18.123+08:00", "2026-01-20T11:27:18+0800", "2026-01-20T11:27:18.0+080...
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 07d88d36ad3f..2ca4981b9072 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -26,6 +26,7 @@ * Fix `BrowserErrorLog` BanyanDB storage query order. * `BanyanDB Client`: Property query support `Order By`. * MQE: trim th...
3
2
0
[{"id": "G0", "claim": "The conversion via toEpochSecond() * 1000 discards millisecond information in the timestamp, so Copilot suggests using odt.toInstant().toEpochMilli() to preserve millisecond precision.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
apache__skywalking__13692
apache/skywalking
13,692
defect
65137fc27fd765bb44007bad7fcbe59a185fa617
47c9ca03dcad4157a6271ca3854d5afbcaa11b57
Envoy metrics service receiver: support adapter listener metrics.
- [ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #<issue number>. - [X] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 3456dcfc65e3..f6c0bd8134e4 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -29,6 +29,7 @@ * `BanyanDB Client`: Property query support `Order By`. * MQE: trim the label values condition for the labeled metrics query ...
3
3
0
[{"id": "G0", "claim": "ListenerMetricsAdapter is instantiated inline for each metric family in the loop, inconsistent with the once-instantiated-and-reused ClusterManagerMetricsAdapter and causing unnecessary allocations; follow the same pattern by adding a getter in EnvoyMetricReceiverConfig and using config.getListe...
null
apache__skywalking__13705
apache/skywalking
13,705
defect
b5378919288e4e7992a0a794fa0126ff29a42702
d040c5cbcda6046913faec542627ca1731d81037
Add virtual thread support for gRPC and HTTP servers on JDK 25+
### Add virtual thread support for gRPC and Armeria HTTP server handler threads (JDK 25+) - [ ] If this is non-trivial feature, paste the links/URLs to the design doc. - [x] Update the documentation to include this new feature. - [x] Tests(including UT, IT, E2E) are added to verify the new feature. - [ ] If it's UI...
diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml index de7889321983..3e2a3c757dc1 100644 --- a/.github/workflows/publish-docker.yaml +++ b/.github/workflows/publish-docker.yaml @@ -75,6 +75,11 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buil...
6
2
2
[{"id": "G0", "claim": "The scheduleAtFixedRate() and scheduleWithFixedDelay() loops do not handle exceptions thrown by command.run(): an exception terminates the scheduling loop without logging or notification, which the reviewer says differs from standard ScheduledExecutorService implementations that log and continue...
null
apache__skywalking__13761
apache/skywalking
13,761
defect
ce2ba33a26a409f35c82f63e8a276fa24ddc5f37
5eb74aa1ebc3771e2cf9c6d5189083f7d609aeeb
MAL: add extension function SPI, proper numeric types in codegen
### MAL extension function SPI + numeric codegen improvements - [x] If this is non-trivial feature, paste the links/URLs to the design doc. - Related to SWIP-10: https://github.com/apache/skywalking/discussions/13756 - [x] Update the documentation to include this new feature. - [x] Tests(including UT, IT, E2E) are ad...
diff --git a/docs/en/concepts-and-designs/mal.md b/docs/en/concepts-and-designs/mal.md index a6f0420f5ee6..3546c18dc8c5 100644 --- a/docs/en/concepts-and-designs/mal.md +++ b/docs/en/concepts-and-designs/mal.md @@ -236,6 +236,45 @@ buckets, will multiply the bucket value by 1000.) 1. `element`: element in the array. ...
5
5
5
[{"id": "G0", "claim": "For int extension parameters the codegen casts a double literal to int, silently truncating non-integer MAL literals (e.g. 2.9 becomes 2); validate that the number is an integer value and throw a compilation error otherwise.", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
apache__skywalking__13819
apache/skywalking
13,819
defect
55638d4c9a0df01cd2dec49e76d50d891947beb6
5f031ff1961d3cb5305aa829a73cd4e50e0c7b62
PromQL: support querying Zipkin metadata and TraceQL support more tags and variables querying in Grafana
- [ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #<issue number>. - [X] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 70ad11e25505..a8b40d8236db 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -17,6 +17,8 @@ * Fix duplicate calls in `EndpointTopologyBuilder` — calls were not deduplicated unlike `ServiceTopologyBuilder`, causing dupl...
9
7
4
[{"id": "G0", "claim": "When Grafana sends the Custom all value `*` as the service name, ZipkinTraceQLApiHandler.searchTagValuesImpl calls getSpanNames(\"*\") / getRemoteServiceNames(\"*\"), which will likely return wrong data or an error; consider skipping these lookups when the service name is ALL, as searchImpl does...
null
apache__skywalking__3990
apache/skywalking
3,990
defect
3cb622daed914761cbb791d34d78ea7d9b8e5d5f
6760b8fa76da4e01f3d2b8e13f120f7b68cdf86a
[test/e2e] Enhancement TopoMatcher
Please answer these questions before submitting pull request - Why submit this pull request? - [ ] Bug fix - [ ] New feature provided - [ ] Improve performance - Related issues ___ Calls expected-data to support variable.
diff --git a/test/e2e/e2e-base/src/main/java/org/apache/skywalking/e2e/assertor/VariableExpressParser.java b/test/e2e/e2e-base/src/main/java/org/apache/skywalking/e2e/assertor/VariableExpressParser.java new file mode 100644 index 000000000000..a6d96d989bdc --- /dev/null +++ b/test/e2e/e2e-base/src/main/java/org/apache/...
2
1
1
[{"id": "G0", "claim": "The guard in VariableExpressParser.parse should be (!(express.startsWith(\"${\") && express.endsWith(\"}\"))); as written, a string matching only one of the two conditions is misclassified as a variable expression.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
apache__skywalking__5429
apache/skywalking
5,429
defect
15b0068fdf8df2c610abc58dd763679ca1a7f22b
52fb7c6b617e6a2de999a230145315021f55714b
Support HTTP api for browser recevier
Please answer these questions before submitting a pull request - Why submit this pull request? - [ ] Bug fix - [x] New feature provided - [ ] Improve performance - Related issues ___ ### Bug fix - Bug description. - How to fix? ___ ### New feature or improvement - Describe the details and related ...
diff --git a/docs/en/protocols/Browser-HTTP-API-Protocol.md b/docs/en/protocols/Browser-HTTP-API-Protocol.md new file mode 100644 index 000000000000..e7cbd6712afd --- /dev/null +++ b/docs/en/protocols/Browser-HTTP-API-Protocol.md @@ -0,0 +1,108 @@ +# HTTP API Protocol + +HTTP API Protocol defines the API data format, i...
2
2
2
[{"id": "G0", "claim": "The metrics tag value is not right: the HTTP servlet handler creates its telemetry with `MetricsTag.Values(\"grpc\")` although the data arrives over HTTP (it should say `http`).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
apache__skywalking__5474
apache/skywalking
5,474
defect
efd080840e9cf8e2bdd87c010701564b2ccd6d0e
f09f8ba32b1d9f82a68817cea46d733430e6ad1b
Alarm support wechat webhook
Please answer these questions before submitting a pull request - Why submit this pull request? - [ ] Bug fix - [√ ] New feature provided - [ ] Improve performance - Related issues resolve #5460 ___ ### Bug fix - Bug description. - How to fix? ___ ### New feature or improvement - Describe the detai...
diff --git a/docs/en/setup/backend/backend-alarm.md b/docs/en/setup/backend/backend-alarm.md index 90189be37a49..75c737977a5e 100644 --- a/docs/en/setup/backend/backend-alarm.md +++ b/docs/en/setup/backend/backend-alarm.md @@ -180,6 +180,23 @@ slackHooks: - https://hooks.slack.com/services/x/y/z ``` +## WeChat ...
7
6
1
[{"id": "G0", "claim": "The new WeChat Hook doc section fails to say clearly, using the official name WeCom, that the webhook only works with Enterprise WeChat and not normal WeChat groups, which may mislead readers.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
apache__skywalking__6232
apache/skywalking
6,232
defect
97f54114a5e9abff84dae55a44f711f9d8567610
bd83d0f1ac50fe3fe18627518229633f33f56391
Support dynamic change SAMPLE_N_PER_3_SECS on java agent
### Support dynamic change SAMPLE_N_PER_3_SECS on java agent. - [ ] If this is non-trivial feature, paste the links/URLs to the design doc. - [ ] Update the documentation to include this new feature. - [x] Tests(including UT, IT, E2E) are added to verify the new feature. - [ ] If it's UI related, attach the screens...
diff --git a/CHANGES.md b/CHANGES.md index 387c7eada3fd..71a0b5890557 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -36,6 +36,7 @@ Release Notes. * Support reading segmentId and spanId with toolkit. * Fix RestTemplate plugin recording url tag with wrong port * Support collecting logs and forwarding through gRPC. +* Su...
26
25
5
[{"id": "G0", "claim": "Reword the CHANGES.md entry to describe the feature as the `agent.sample_n_per_3_secs` config being changeable at runtime.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Adding ConfigurationDiscoveryService to the BootServi...
null
apache__skywalking__7377
apache/skywalking
7,377
defect
7ada0096ad4278f313d52d7150c625117d02202a
2c61fb239384fe0701e9aead563d2f596397c1b0
Add logging module to load log configuration dynamically
### Logging configuration dynamic loading - [x] Update the documentation to include this new feature. - [x] Local testing. - [x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #7114 . - [x] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/...
diff --git a/oap-server/pom.xml b/oap-server/pom.xml index 6fa7990e658e..e06934a281a2 100755 --- a/oap-server/pom.xml +++ b/oap-server/pom.xml @@ -48,6 +48,7 @@ <module>server-tools</module> <module>server-fetcher-plugin</module> <module>server-health-checker</module> + <module>server-...
7
6
4
[{"id": "G0", "claim": "log4j-core, which the pull request adds as a direct dependency of the new logging module, carries 2 critical (CVE-2017-5645, CVE-2019-17571, both CVSS 9.8) and 1 moderate (CVE-2020-9488) known vulnerabilities.", "category": "security", "verdict": "opposed", "priority": "P1", "scope": "introduced...
null
apache__skywalking__7709
apache/skywalking
7,709
defect
b20f121e64920acd4daf8dc368138c63ce1bbb0f
c4781114996d903017a4d21a99caccdd98aa01f9
Support gRPC sync grouped dynamic configurations.
### Support gRPC sync grouped dynamic configurations. - [ ] If this is non-trivial feature, paste the links/URLs to the design doc. - [X] Update the documentation to include this new feature. - [X] Tests(including UT, IT, E2E) are added to verify the new feature. - [ ] If it's UI related, attach the screenshots bel...
diff --git a/CHANGES.md b/CHANGES.md index 8197b452cbfd..e4af5694bccb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -63,6 +63,7 @@ Release Notes. * Switch JRE base image for dev images. * Support apollo grouped dynamic configurations. * Fix `ProfileThreadSnapshotQuery.queryProfiledSegments` adopts a wrong sort functio...
6
6
3
[{"id": "G0", "claim": "The newly added code should be formatted because some lines are very long.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test resources live under the wrong directory (src/main/test instead of src/test), so the tests...
null
apache__skywalking__7918
apache/skywalking
7,918
defect
f4c99db4f028a527c166a954007d71cf4c5f40cc
d5102360479550c0f7197071c7eb6bd8d1f8d8e0
Message Queue performance and consuming latency monitoring
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/CHANGES.md b/CHANGES.md index b23d894d45f9..77ac2cbbf687 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -27,6 +27,9 @@ Release Notes. * Refactor the OAL compiler context to improve readability. * Fix wrong generated codes of `hashCode` and `remoteHashCode` methods for numeric fields. * Replace e2e cases to...
5
5
0
[{"id": "G0", "claim": "All.getTag should return originalTags.get(key) instead of originalTags.getOrDefault(key, null).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Endpoint.getTag should return originalTags.get(key) instead of originalTags.ge...
null
apache__skywalking__7930
apache/skywalking
7,930
defect
bafc3cde9d98f777725ae7a604d4a422ce90752e
a6e8c89cd656310b760e49b80fef55d955d78087
Let meter system support negative infinity bucket
- [x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #7920 . - [x] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/CHANGES.md).
diff --git a/CHANGES.md b/CHANGES.md index 8cb1e16eb438..d90b380cb70c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -32,6 +32,7 @@ Release Notes. * Add `Message Queue Avg Consuming Latency` metric for MQ consuming service and endpoint. * Replace e2e cases to e2e-v2: PHP. * Replace VM e2e cases to e2e-v2: Prometheus No...
4
2
0
[{"id": "G0", "claim": "The negative-infinity bucket should be converted to `Long.MIN_VALUE` instead of leveraging `Double` and parsing the `-Infinity` string, unless there is a reason to prefer Double.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
apache__skywalking__9247
apache/skywalking
9,247
defect
f8203778efad77e1d1fb14f10a0000014b1a8517
b2340c1189160cacabc6808345a6af855a625b7b
Support PagerDuty Alarm Hook
<!-- ⚠️ Please make sure to read this template first, pull requests that don't accord with this template maybe closed without notice. Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>. Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]` --...
diff --git a/docs/en/setup/backend/backend-alarm.md b/docs/en/setup/backend/backend-alarm.md index 87243d270df1..73dd29e1b0e7 100644 --- a/docs/en/setup/backend/backend-alarm.md +++ b/docs/en/setup/backend/backend-alarm.md @@ -299,6 +299,22 @@ welinkHooks: robot_name: robot ``` + +## PagerDuty Hook +The Pager...
2
2
0
[{"id": "G0", "claim": "The default alarm-settings.yml under oap-server/server-starter should also be updated with the pagerDutyHooks sample configuration.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "This PR still needs a changelog entry for itse...
null
apache__solr__3829
apache/solr
3,829
defect
0bcbe0b4c0d5c7cae0f7568d72ada30f0dd1d2ab
7552398adadaf3792e4966da1c8492d5624c362c
SOLR-17968: HttpSolrClient as new base class
https://issues.apache.org/jira/browse/SOLR-17968 The gist is: 1. HttpApacheSolrClient no longer extends HttpSolrClient in this PR. Unfortunate but it'll interfere... 2. Rename HttpSolrClientBase to HttpSolrClient. (replacing my earlier simple attempt at an abstract HttpSolrClient in this PR) 3. Rename HttpSo...
diff --git a/solr/core/src/test/org/apache/solr/cloud/HttpPartitionTest.java b/solr/core/src/test/org/apache/solr/cloud/HttpPartitionTest.java index 8332d2646d25..17d45100da9b 100644 --- a/solr/core/src/test/org/apache/solr/cloud/HttpPartitionTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/HttpPartitionTest.ja...
11
5
0
[{"id": "G0", "claim": "BasicHttpSolrClientTest should be renamed (or moved) because it is specific to the Apache version of the client, which the PR renamed to HttpApacheSolrClient.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test duplic...
null
apache__solr__3991
apache/solr
3,991
defect
0efab551b68973fae7aae741470ccc02e310d2f5
44d9aab51b6b52ce07cc4528a1fc929a98c0921a
SOLR-16738: Refactor AdminHandlersProxy for better extensibility
https://issues.apache.org/jira/browse/SOLR-16738 # Description AdminHandlersProxy, in its current form is unwieldy to extend to cover our v2 API: - it relies on v1 GenericSolrRequest's to send requests - it assumes a NamedList<Object> in several method signatures - it relies on specific hard-coded params to ...
diff --git a/solr/core/src/java/org/apache/solr/handler/admin/LoggingHandler.java b/solr/core/src/java/org/apache/solr/handler/admin/LoggingHandler.java index 7593bb7cbdd7..4d93ff60b1a7 100644 --- a/solr/core/src/java/org/apache/solr/handler/admin/LoggingHandler.java +++ b/solr/core/src/java/org/apache/solr/handler/adm...
5
4
0
[{"id": "G0", "claim": "The 'node' param is only used by the Metrics API, so it would move to PrometheusRequestProxy, while 'nodes' (plural) is for everything except metrics.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The handler call sites needlessl...
null
apache__solr__4119
apache/solr
4,119
defect
f5da9a62d4c66a25289b340011b852be61693977
7c3a9081c58166a7afd6742eb0b1c6eabdf82234
SOLR-18112: SolrDispatchFilter is now a Servlet
https://issues.apache.org/jira/browse/SOLR-18112 Also, optimized the configuration of excludePatterns to leverage the regular expression nature it supported but we weren't using. Nonetheless, to me, PathExclusionFilter seems pointless when we could directly map these paths to the "default" servlet. I'm very temp...
diff --git a/changelog/unreleased/SOLR-18112-SolrDispatchFilterServlet.yml b/changelog/unreleased/SOLR-18112-SolrDispatchFilterServlet.yml new file mode 100644 index 000000000000..f406381287c6 --- /dev/null +++ b/changelog/unreleased/SOLR-18112-SolrDispatchFilterServlet.yml @@ -0,0 +1,8 @@ +# See https://github.com/apa...
5
5
2
[{"id": "G0", "claim": "The PR's updated excludePatterns regex in web.xml would break the new UI button reference, since it does not cover the new UI at /solr/ui/ or the deep-link sub-paths it plans to use; keep the ui/* wildcard (or find a better approach) so the new UI continues to work.", "category": "correctness", ...
null
apache__solr__4149
apache/solr
4,149
defect
f6f7bc4ace16465e6fb47765183bb4cf4ebbe62f
46b20ece30eb4449685e0dbcf858d1949c985a0f
SOLR-8127 Distributed Luke
https://issues.apache.org/jira/browse/SOLR-8127 # Description Currently, `LukeRequestHandler` fetches its data from the local shard handling the request. Thus all the statistics it produces are for a single shard only. This is a bit misleading for a multi-shard cloud because an API that exists at the collection l...
diff --git a/CHANGELOG.md b/CHANGELOG.md index aea57a6a6d2c..00eb87b81e68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ This file lists Solr's raw release notes with details of every change to Solr. M [unreleased] ------------ -### Added (12 changes) +### Added (13 changes) - Create new v2 APIs ...
20
16
3
[{"id": "G0", "claim": "Returning an empty response instead of throwing when the requested document is missing is a breaking contract change that could be problematic for clients assuming the doc field is present in a 200 response without null checking.", "category": "design", "verdict": "opposed", "priority": "P2", "s...
null
apache__solr__4171
apache/solr
4,171
defect
b71c872c35b1a12551e3d9b832c1ef9c40a1ea0a
01696e35e8d4d46410bff15fd73f6e4f2f619699
SOLR-16458: Migrate NodeHealthAPI from homegrown @EndPoint to JAX-RS
Migrates `NodeHealthAPI` — the last node-level V2 API still using Solr's homegrown `@EndPoint` annotation — to standard JAX-RS, following the same pattern as `NodeLogging`, `GetPublicKey`, etc. ## Design The logic stays in `HealthCheckHandler` (minimising diff surface). `NodeHealthAPI` is a thin JAX-RS wrapper (~60 l...
diff --git a/solr/api/src/java/org/apache/solr/client/api/endpoint/NodeHealthApi.java b/solr/api/src/java/org/apache/solr/client/api/endpoint/NodeHealthApi.java new file mode 100644 index 000000000000..9ad0d2820cfa --- /dev/null +++ b/solr/api/src/java/org/apache/solr/client/api/endpoint/NodeHealthApi.java @@ -0,0 +1,3...
18
15
5
[{"id": "G0", "claim": "The PR carries two versions of the same test (a more-mocked and a less-mocked one) and one of them should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The numCoresUnhealthy field of NodeHealthResponse should...
null
apache__solr__4222
apache/solr
4,222
defect
601f7411d47fe9ae75a90c4b61b0468a3c843031
c034cd331e17fbf0d65cd7120065214517f8622c
SOLR-18164: Remove use of .singleton
https://issues.apache.org/jira/browse/SOLR-18164 # Description Originally part of https://github.com/apache/solr/pull/4168/commits, this is to remove `.singleton` usage. # Solution manual! can't quite get INtellij to do it for me for the Set version, but then leaned on copilot for the List and Map versio...
diff --git a/gradle/validation/forbidden-apis/defaults.all.txt b/gradle/validation/forbidden-apis/defaults.all.txt index eeab02a0dca8..ee98e84f0415 100644 --- a/gradle/validation/forbidden-apis/defaults.all.txt +++ b/gradle/validation/forbidden-apis/defaults.all.txt @@ -63,6 +63,9 @@ java.util.Collections#emptySet() @...
2
1
0
[{"id": "G0", "claim": "The eight call sites that intentionally pass null to Collections.singleton* (preserved with @SuppressForbidden) seem suspicious and should be tracked for potential follow-up PRs to re-examine whether null is the best way of doing things.", "category": "maintainability", "verdict": "uncertain", "...
null
apache__solr__4236
apache/solr
4,236
defect
2ea21db9af976eee8ed10c08fb95e071889387be
f448a6a5c0eb82bd03b28f5b75751dc183b7cb62
SOLR-18174 AsyncTracker Semaphore permit leak fix
Relates to https://issues.apache.org/jira/browse/SOLR-18174 ## Background `HttpJettySolrClient` uses an internal `AsyncTracker` semaphore (default 1000 permits) to limit outstanding async HTTP requests. A permit is acquired in `onRequestQueued` and released in `onComplete`. Two separate bugs can cause permits to ...
diff --git a/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java b/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java index a8e9513e5875..f0fa7bd780ef 100644 --- a/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java +++ b/solr/co...
17
15
3
[{"id": "G0", "claim": "The completeListener should not release a permit when result is null: the reviewer notes result is sometimes null so the attribute cannot be fetched, wonders whether the queuedListener guard is even needed and whether a double onComplete() also needs guarding, and asks that release require a non...
null
apache__solr__4237
apache/solr
4,237
defect
a38d81ec201c3153728812af5ca4c60c724774ea
3c0574693cfbea882c64db0d6d4786ac019c5225
[SOLR-18176] HttpShardHandler query throughput bottleneck from ZooKeeper
https://issues.apache.org/jira/browse/SOLR-18176 HttpShardHandler was bottlenecking in throughput due to `CloudReplicaSource` recalling for ZooKeeper collection state with every `distrib` request due to the missing `allowCache=true` parameter. This resulted in large CPU utilization in ZooKeeper and the `synchronized...
diff --git a/solr/core/src/java/org/apache/solr/handler/component/CloudReplicaSource.java b/solr/core/src/java/org/apache/solr/handler/component/CloudReplicaSource.java index 836d0951f062..bf8cb48d797b 100644 --- a/solr/core/src/java/org/apache/solr/handler/component/CloudReplicaSource.java +++ b/solr/core/src/java/org...
3
2
1
[{"id": "G0", "claim": "The pull request is missing its changelog entry; dsmiley reminds the author to run ./gradlew writeChangelog to add it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR's changed behaviour (cached collection state) is u...
null
apache__solr__4258
apache/solr
4,258
defect
4f2b4e2dd137e333cf61170b91cf8dcd9f9cfdf9
bb85306728f9738bebb719bbc4a0a52910f626e0
SOLR-18121: Rm 'rm-in-advance' fetcher codepath
ERROR: type should be string, got "https://issues.apache.org/jira/browse/SOLR-18121\r\n\r\n# Description\r\n\r\nPrior to this commit, the IndexFetcher had support for an edge case where if a full-index-fetch was needed but the receiving host didn't have adequate disk space, then the IndexFetcher would delete the existing (out of date) copy of the index to free up space.\r\n\r\nUnfortunately, this optimization/\"feature\" was never documented in the ref-guide, had very little test coverage, and contained a number of resource-leaks that appeared to trigger 100% of the time. While the feature might've worked when initially written, the rare-ness of the triggering condition and lack of tests had led to some severe bitrot over time.\r\n\r\n# Solution\r\n\r\nThis commit removes the code for this optimization altogether. It largely works by walking back the code introduced in the original change, 'b061947'.\r\n\r\n# Tests\r\n\r\nNo new tests; removal of existing test `TestReplicationHandlerDiskOverFlow`.\r\n\r\n# Checklist\r\n\r\nPlease review the following and check all that apply:\r\n\r\n- [x] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability.\r\n- [x] I have created a Jira issue and added the issue ID to my pull request title.\r\n- [x] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended, not available for branches on forks living under an organisation)\r\n- [x] I have developed this patch against the `main` branch.\r\n- [x] I have run `./gradlew check`.\r\n- [x] I have added tests for my changes.\r\n- [x] I have added documentation for the [Reference Guide](https://github.com/apache/solr/tree/main/solr/solr-ref-guide)\r\n- [ ] I have added a [changelog entry](https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc) for my change\r\n"
diff --git a/solr/core/src/java/org/apache/solr/core/SolrCore.java b/solr/core/src/java/org/apache/solr/core/SolrCore.java index 2176c0a392a8..2d41e162f4a0 100644 --- a/solr/core/src/java/org/apache/solr/core/SolrCore.java +++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java @@ -258,8 +258,6 @@ public class Solr...
1
1
1
[{"id": "G0", "claim": "The removal of the (broken) rm-in-advance feature should be articulated to users: yes a changelog entry, and yes a note in major-changes-in.adoc.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__solr__4260
apache/solr
4,260
defect
03debda7c66b8250ba147831f8c05cc9b70849b1
9e5e29fb5cff42f7daa2e2ed4088a38140154339
[SOLR-18130] Unified connection string CloudSolrClient.Builder implementation
https://issues.apache.org/jira/browse/SOLR-18130 <!-- _(If you are a project committer then you may remove some/all of the following template.)_ Before creating a pull request, please file an issue in the ASF Jira system for Solr: * https://issues.apache.org/jira/projects/SOLR For something minor (i.e. tha...
diff --git a/solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/SolrClientCache.java b/solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/SolrClientCache.java index 3f5013fe664c..0f6667dbced8 100644 --- a/solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/SolrClientCache.java +++ b/solr...
17
14
1
[{"id": "G0", "claim": "The Builder(String) javadoc is too verbose and its mode-description/usage-examples content should be dropped, since the examples ought to speak for themselves.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The connection-s...
null
apache__solr__4264
apache/solr
4,264
defect
db8a6d3451abb97d47f4c24cdb88fd60f53e20c7
c7f7ad48e4d7fe9769b7fb10cf00de903bcaf44b
SOLR-15701: Complete configsets api
https://issues.apache.org/jira/browse/SOLR-15701 # Description Add Download and GetFile and PutFile to ConfigSets API and SolrJ. # Solution This was extracted with copilots help from the SchemaDesigner code base. We are going to merge this as part of ConfigSets API. In a future PR, once this is done, ...
diff --git a/changelog/unreleased/SOLR-15701_complete_configsets_api.yml b/changelog/unreleased/SOLR-15701_complete_configsets_api.yml new file mode 100644 index 000000000000..3d79059b1e25 --- /dev/null +++ b/changelog/unreleased/SOLR-15701_complete_configsets_api.yml @@ -0,0 +1,7 @@ +title: Add ConfigSets.Download and...
15
12
4
[{"id": "G0", "claim": "The variable holding the downloaded file contents should be immutable (declared final).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc's \"Equivalent to GET /api/configsets/{configSetName}/download\" wording i...
null
apache__solr__4267
apache/solr
4,267
defect
79feaf534c9fdd9a519e7627964c0fb35223df90
789eaa1a33adbc79c533da83447170b71bd3eec2
SOLR-17697 Enable picocli for remaining zk commands
Adding the remaining `bin/solr zk` sub commands other than `zk ls` which is already implemented. https://issues.apache.org/jira/browse/SOLR-17697 ``` Usage: solr zk [-hV] [COMMAND] Sub commands for working with ZooKeeper. -h, --help Show this help message and exit. -V, --version Print version infor...
diff --git a/solr/core/src/java/org/apache/solr/cli/CliDefaultValueProvider.java b/solr/core/src/java/org/apache/solr/cli/CliDefaultValueProvider.java index 99cb2ab95564..9362e070d817 100644 --- a/solr/core/src/java/org/apache/solr/cli/CliDefaultValueProvider.java +++ b/solr/core/src/java/org/apache/solr/cli/CliDefault...
5
5
2
[{"id": "G0", "claim": "Path.endsWith(\"/conf\") only works for absolute paths; if --conf-dir is a relative path already ending in 'conf' it evaluates false and appends another 'conf', creating <dir>/conf/conf — use the file-name check or endsWith(\"conf\") instead.", "category": "correctness", "verdict": "supported", ...
null
apache__solr__4272
apache/solr
4,272
defect
ba125ac5ced1bd20e9aeb87731e1846661819264
b03667613c0e93f698ad33b0c8d7684a30b9faf6
SOLR-18055 Use solr.ssl.enabled property for url scheme detection
https://issues.apache.org/jira/browse/SOLR-18055 <!-- _(If you are a project committer then you may remove some/all of the following template.)_ Before creating a pull request, please file an issue in the ASF Jira system for Solr: * https://issues.apache.org/jira/projects/SOLR For something minor (i.e. tha...
diff --git a/solr/benchmark/src/resources/solr.xml b/solr/benchmark/src/resources/solr.xml index 38c9a776f53d..9292940b2221 100644 --- a/solr/benchmark/src/resources/solr.xml +++ b/solr/benchmark/src/resources/solr.xml @@ -28,7 +28,6 @@ <str name="allowUrls">${solr.tests.security.allow.urls:}</str> <shardHandle...
7
7
1
[{"id": "G0", "claim": "Keep the \"note: Can't read cluster properties until createClusterState ^ is called\" comment that the pull request removed in ZkController.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc of HttpShardHandlerFact...
null
apache__solr__4275
apache/solr
4,275
defect
bf610531f1c0767356ce07c35a741d42c8b786f6
a0eaf6f7fc9e69f9315a1ccea4a9d602c40a36db
SOLR-17318 VersionTool now reports remote server version
...when `--solr-url` is provided https://issues.apache.org/jira/browse/SOLR-17318
diff --git a/changelog/unreleased/SOLR-17318-version-server-info.yml b/changelog/unreleased/SOLR-17318-version-server-info.yml new file mode 100644 index 000000000000..ac4027a25e23 --- /dev/null +++ b/changelog/unreleased/SOLR-17318-version-server-info.yml @@ -0,0 +1,8 @@ +title: VersionTool (bin/solr version) now repo...
3
1
0
[{"id": "G0", "claim": "The version tool should also support the --zk option for consistency, since all the other CLI tools allow connecting both ways.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should use a nicer assertion style for checking ...
null
apache__solr__4276
apache/solr
4,276
defect
db8a6d3451abb97d47f4c24cdb88fd60f53e20c7
9268feecdebee7f45654b1d8f8f065fd7872efe9
SOLR-18093: Add top-level 'queries' support to JsonQueryRequest in SolrJ
https://issues.apache.org/jira/browse/SOLR-18093 <!-- _(If you are a project committer then you may remove some/all of the following template.)_ Before creating a pull request, please file an issue in the ASF Jira system for Solr: * https://issues.apache.org/jira/projects/SOLR For something minor (i.e. tha...
diff --git a/changelog/unreleased/SOLR-18093-add-top-level-queries-in-json-solrj.yml b/changelog/unreleased/SOLR-18093-add-top-level-queries-in-json-solrj.yml new file mode 100644 index 000000000000..0c91f5aa11be --- /dev/null +++ b/changelog/unreleased/SOLR-18093-add-top-level-queries-in-json-solrj.yml @@ -0,0 +1,9 @@...
7
5
1
[{"id": "G0", "claim": "The new test should set the request path via QueryRequest.setPath instead of hardcoding qt=/search in ModifiableSolrParams.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test could build the queries map inline with M...
null
apache__solr__4277
apache/solr
4,277
defect
bf610531f1c0767356ce07c35a741d42c8b786f6
6016026f647a6e43d7284ff39460e51e252de40b
SOLR-18195: Support for Collapse Results in Combined Query Component
https://issues.apache.org/jira/browse/SOLR-18195 <!-- _(If you are a project committer then you may remove some/all of the following template.)_ Before creating a pull request, please file an issue in the ASF Jira system for Solr: * https://issues.apache.org/jira/projects/SOLR For something minor (i.e. tha...
diff --git a/changelog/unreleased/SOLR-18195-collapse-results-combined-query.yml b/changelog/unreleased/SOLR-18195-collapse-results-combined-query.yml new file mode 100644 index 000000000000..754f3c3e0f84 --- /dev/null +++ b/changelog/unreleased/SOLR-18195-collapse-results-combined-query.yml @@ -0,0 +1,9 @@ +# See http...
9
8
3
[{"id": "G0", "claim": "Consider using an HPPC primitive map instead of Map<Integer, Float> for the doc-to-score map.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The word 'local' is not the usual term for the docs of a segment; getLocalDocs/local...
null
apache__solr__4284
apache/solr
4,284
defect
37f4acb1541e2ca4189f110f5c42143a858a50fd
92d1b595aa8554d0cce26ba92d66ccc8e33cdfa3
SOLR-18165 Complete dot-separated metric name migration
https://issues.apache.org/jira/browse/SOLR-18165 PR #4223 converted the majority of Solr metric instrument names from `underscore_delimited` to `dot.separated` OTel standard naming. Several files were missed or only partially converted. This PR completes that work. ### Files changed **`AuditLoggerPlugin.java...
diff --git a/changelog/unreleased/SOLR-18165-More-dot-separated-metric-names.yml b/changelog/unreleased/SOLR-18165-More-dot-separated-metric-names.yml new file mode 100644 index 000000000000..e73385037b4e --- /dev/null +++ b/changelog/unreleased/SOLR-18165-More-dot-separated-metric-names.yml @@ -0,0 +1,8 @@ +title: Com...
4
4
2
[{"id": "G0", "claim": "The description string of the cache size metric is grammatically incorrect (\"Current number cache entries\") and should be updated to \"Current number of cache entries\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
apache__solr__4286
apache/solr
4,286
defect
37f4acb1541e2ca4189f110f5c42143a858a50fd
39ab3fc0f5c89d1043edf144447e6e85dff07118
SOLR-18198 Add support for "missing" stats in rollup for streaming expressions
https://issues.apache.org/jira/browse/SOLR-18198 <!-- _(If you are a project committer then you may remove some/all of the following template.)_ Before creating a pull request, please file an issue in the ASF Jira system for Solr: * https://issues.apache.org/jira/projects/SOLR For something minor (i.e. tha...
diff --git a/changelog/unreleased/SOLR-18198-support-missing-stats-count-in-rollup.yml b/changelog/unreleased/SOLR-18198-support-missing-stats-count-in-rollup.yml new file mode 100644 index 000000000000..ec9f20bde065 --- /dev/null +++ b/changelog/unreleased/SOLR-18198-support-missing-stats-count-in-rollup.yml @@ -0,0 +...
6
4
2
[{"id": "G0", "claim": "The changelog title should not list the Jira issue (SOLR-18198), since the title is meant to be for end users.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests only exercise MissingMetric via direct Java constructio...
null
apache__solr__4292
apache/solr
4,292
defect
fa0547434f464a306e5433776415fd2e954fdc6d
024cdd871a5d973e7557fedc7c756533031b0332
SOLR 18174 AsyncTracker Semaphore permit leak fix (branch_9x)
https://issues.apache.org/jira/browse/SOLR-18174 Backport of the fix in #4236 to branch_9x, targeting Solr 9.11. * Backported the deadlock fixes and their test * Backported configurable max permits sysprop * Backported metric, and added it to SolrExporter, using same prometheus metric name as in main * Documen...
diff --git a/changelog/unreleased/SOLR-18174-prevent-double-registration.yml b/changelog/unreleased/SOLR-18174-prevent-double-registration.yml new file mode 100644 index 000000000000..ce816f4fece7 --- /dev/null +++ b/changelog/unreleased/SOLR-18174-prevent-double-registration.yml @@ -0,0 +1,8 @@ +title: Fix semaphore p...
5
2
1
[{"id": "G0", "claim": "In AsyncTracker.queuedListener, an interrupt during available.acquire() still leaves PERMIT_ACQUIRED_ATTR set, so onComplete unconditionally releases a permit — over-incrementing the semaphore above its configured max and allowing the request to proceed without a permit — so acquisition should b...
null
apache__solr__4373
apache/solr
4,373
defect
95b15d53d24f4758c9173f2c539fc0c850a9bc3f
b4204c0e5cb64b29719b463973fab92857e58779
SOLR-18215 JWT auth module now defaults to blockUnknown=true
https://issues.apache.org/jira/browse/SOLR-18215 Changes the default value of the `blockUnknown` setting in the JWT Authentication plugin from `false` to `true`. A documentation bug introduced in v9.0 caused the reference guide to state `true` as the default, while the code has always defaulted to `false` (pass-t...
diff --git a/changelog/unreleased/SOLR-18215-jwt-auth-blockUnknown-default-true.yml b/changelog/unreleased/SOLR-18215-jwt-auth-blockUnknown-default-true.yml new file mode 100644 index 000000000000..08e26cf170ec --- /dev/null +++ b/changelog/unreleased/SOLR-18215-jwt-auth-blockUnknown-default-true.yml @@ -0,0 +1,8 @@ +t...
3
3
2
[{"id": "G0", "claim": "The upgrade note should show the setting as a quoted JSON key, e.g. `\"blockUnknown\": false`, instead of the unquoted `blockUnknown: false`, so users copying it into their security.json are not confused.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
apache__solr__4401
apache/solr
4,401
defect
b83ace860e987f1e8bd7f596c2f62b65c3eab0d5
6d36c942ddd3001f78d61b01e2835fad5e600535
SOLR-18215 JWT auth module now defaults to blockUnknown=true (branch_9x)
https://issues.apache.org/jira/browse/SOLR-18215 Backport of #4373 to `branch_9x` and then `branch_9_11`.
diff --git a/changelog/unreleased/SOLR-18215-jwt-auth-blockUnknown-default-true.yml b/changelog/unreleased/SOLR-18215-jwt-auth-blockUnknown-default-true.yml new file mode 100644 index 000000000000..08e26cf170ec --- /dev/null +++ b/changelog/unreleased/SOLR-18215-jwt-auth-blockUnknown-default-true.yml @@ -0,0 +1,8 @@ +t...
1
1
1
[{"id": "G0", "claim": "The 'simplest possible security.json' example now only sets the plugin class and omits any key/issuer configuration (jwk/jwksUrl/wellKnownUrl), so with blockUnknown now defaulting to true the plugin is left unconfigured and requests will fail with a server error ('JWTAuth plugin not correctly co...
null
apache__solr__4404
apache/solr
4,404
defect
a2370b58380e61633e0e1b65312bb33201eea3cd
be04bc409d44bce44b873e4198a5843e56b757b9
SOLR-17855: Remove Dropwizard dependency from core
https://issues.apache.org/jira/browse/SOLR-17855 After migration to OTEL, dropwizard metrics are not used anymore for metrics collection but there were still a few references to it in solr-core. This removes those dropwizard instruments so we can get rid of the dependency from core but it is still needed in test-fra...
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7018c17a31ec..2e5a24c1873b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -82,7 +82,6 @@ decompose = "3.4.0" diffplug-spotless = "8.3.0" # @keep Use for dockerfile JRE version dockerfile-baseimage-java = "25" -dropwiz...
4
3
1
[{"id": "G0", "claim": "The benchmark indexing-rate logging relies on hand-rolled nanotime math, and the reviewer would prefer something that requires less reviewer trust in the time math, such as JDK API calls producing a readable equivalent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "...
null
apache__solr__4405
apache/solr
4,405
defect
6154e2a7519e9664f34d87a2ea155d9df1ba7ee0
84e1959f6a5858a191c71c187e4e33ad15346932
SOLR-18235 Remove support for old PKI auth v1
https://issues.apache.org/jira/browse/SOLR-18235 The v1 feature was only needed for 8.x->9.x upgrades, and have been printing deprecation warnings in logs when in use. Safe to remove. Lots of code going away! PR developed with AI assistance, plus manual review and some manual rewrite of the upgrade note
diff --git a/changelog/unreleased/SOLR-18235-remove-pki-v1.yml b/changelog/unreleased/SOLR-18235-remove-pki-v1.yml new file mode 100644 index 000000000000..11b3789c928d --- /dev/null +++ b/changelog/unreleased/SOLR-18235-remove-pki-v1.yml @@ -0,0 +1,7 @@ +title: Remove support for PKI Authentication v1. The system prop...
4
3
1
[{"id": "G0", "claim": "The upgrade note implies the `solr.pki.sendVersion`/`solr.pki.acceptVersions` properties must be unset before upgrading while also saying they are no longer recognized (ignored); the guidance should be clarified to avoid implying that leaving them set would block the upgrade.", "category": "docu...
null
apache__solr__4406
apache/solr
4,406
defect
6154e2a7519e9664f34d87a2ea155d9df1ba7ee0
654f3f41202cc68eab6b70110938c6e673d4eae5
add percentage and threshold based minimum match functionality to BoolQParserPlugin
BoolQParserPlugin supported the parameter mm (minimum match) but only accepted an integer, it was not able to handle percentage and threshold based minimum match expression as we know it from the DisMaxQParser. I added this functionality to BoolQParserPlugin by reusing the logic from DisMaxQParser
diff --git a/solr/core/src/java/org/apache/solr/search/BoolQParserPlugin.java b/solr/core/src/java/org/apache/solr/search/BoolQParserPlugin.java index 9d37fa590c87..8a0a8eb96dba 100644 --- a/solr/core/src/java/org/apache/solr/search/BoolQParserPlugin.java +++ b/solr/core/src/java/org/apache/solr/search/BoolQParserPlugi...
1
1
0
[{"id": "G0", "claim": "Users should be told about the new functionality in the changelog.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__solr__4407
apache/solr
4,407
defect
930e6c158e9540b16dd0c8fb84972fe6fd9a5abf
ba5ecb01db30cb46dfe3a5996539a3330b2751d5
Fill in missing test coverage for delete configset api
Fill in the missing test coverage for delete configset api. Split out of https://github.com/apache/solr/pull/4203
diff --git a/solr/core/src/test/org/apache/solr/handler/configsets/DeleteConfigSetAPITest.java b/solr/core/src/test/org/apache/solr/handler/configsets/DeleteConfigSetAPITest.java new file mode 100644 index 000000000000..9846f960852e --- /dev/null +++ b/solr/core/src/test/org/apache/solr/handler/configsets/DeleteConfigS...
1
1
1
[{"id": "G0", "claim": "The new tests for whitespace-only and tab-only config set names expect BAD_REQUEST, but DeleteConfigSet#deleteConfigSet validates with StrUtils.isNullOrEmpty, which does not treat blank strings as empty, so the method will not throw BAD_REQUEST for \" \" or \"\\t\" (with the current mocks it w...
null
apache__solr__4427
apache/solr
4,427
defect
3056ce9a8b2b65a947f6cb7e82a6f6b4399131a9
818f6cfffb207c7339550ec981b50a5b15e0d7ac
SOLR-18239: Fixed NPE during size estimator calculations
https://issues.apache.org/jira/browse/SOLR-18239 <!-- _(If you are a project committer then you may remove some/all of the following template.)_ Before creating a pull request, please file an issue in the ASF Jira system for Solr: * https://issues.apache.org/jira/projects/SOLR For something minor (i.e. tha...
diff --git a/changelog/unreleased/SOLR-18239-fix-npe-size-estimator.yml b/changelog/unreleased/SOLR-18239-fix-npe-size-estimator.yml new file mode 100644 index 000000000000..fcc35d938fe1 --- /dev/null +++ b/changelog/unreleased/SOLR-18239-fix-npe-size-estimator.yml @@ -0,0 +1,31 @@ +# (DELETE ALL COMMENTS UP HERE AFTER...
5
3
2
[{"id": "G0", "claim": "The changelog entry must be cleaned up: the template comment block it was filed with should be deleted and the PR tidied up.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changelog entry's `type:` should be `fixed` r...
null
apache__solr__904
apache/solr
904
defect
f288b61539871b82c19779aea7e2e219f6fafb1a
cec106b8317d0119c128cfd06d371bc0331e03c1
SOLR-16246: Introduced pre-filtering in KnnQParser
Implementation of pre-filtering in KnnQParser. https://issues.apache.org/jira/browse/SOLR-16246 # Description With this change, it is possible to use filter queries alongside knnQParser: KnnSearch searches for the topK documents that have passed the filter. # Solution With this change, it is possible to...
diff --git a/solr/core/src/java/org/apache/solr/schema/DenseVectorField.java b/solr/core/src/java/org/apache/solr/schema/DenseVectorField.java index 59cf68713f08..02b50029a205 100644 --- a/solr/core/src/java/org/apache/solr/schema/DenseVectorField.java +++ b/solr/core/src/java/org/apache/solr/schema/DenseVectorField.ja...
7
6
0
[{"id": "G0", "claim": "The original three-argument getKnnVectorQuery overload is unnecessary and should be dropped, since KnnVectorQuery accepts a null filter query.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Keep the original three-argument getKnnV...
null
apache__storm__3342
apache/storm
3,342
defect
1d653a228e89749a1ce67c1b0ff5b2d1fef05818
d50e2e74b2674227aa11603147e05a1fa04176e2
[STORM-3708] Add TopologyID to log messages in ConstraintSolverConfig
## What is the purpose of the change *Log messages in ConstraintSolverConfig do not show the TopologyId. This makes it harder to track problems when there are several topologies running on the cluster.* ## How was the change tested *Run unit tests in storm-server package*
diff --git a/storm-server/src/main/java/org/apache/storm/scheduler/resource/strategies/scheduling/ConstraintSolverConfig.java b/storm-server/src/main/java/org/apache/storm/scheduler/resource/strategies/scheduling/ConstraintSolverConfig.java index 4e5dda9e792..41eed696d58 100644 --- a/storm-server/src/main/java/org/apac...
1
1
0
[{"id": "G0", "claim": "The change of topoConf initialization to Utils.readDefaultConfig() in testZeroExecutorScheduling is irrelevant to this PR (it belongs to PR #3346) and should be removed to keep the history easy to understand.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "in...
null
apache__storm__3362
apache/storm
3,362
defect
e4ce51736dd9dd3cbf86657aa8b2ca67b9bd40a7
167c51640ddbea6ff5cd17b6e3ed5531717694f2
[STORM-3723] Fix isAnyPosixProcessPidDirAlive for PID reassignment
## What is the purpose of the change *Fix isAnyPosixProcessPidDirAlive to return correct value when all PIDs are reassigned to different user* ## How was the change tested *Modify ServerUtilsTest to add this new condition*
diff --git a/storm-server/src/main/java/org/apache/storm/utils/ServerUtils.java b/storm-server/src/main/java/org/apache/storm/utils/ServerUtils.java index 7868dcfac2d..c669403330d 100644 --- a/storm-server/src/main/java/org/apache/storm/utils/ServerUtils.java +++ b/storm-server/src/main/java/org/apache/storm/utils/Serv...
3
2
0
[{"id": "G0", "claim": "The indentation of the newly added pidStr parsing block in getRunningProcessIds is off and should be fixed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test does not need to collect all pids; it should just use the...
null
apache__storm__3371
apache/storm
3,371
defect
7207cc883c71061a522ccaba33bf29fb5003282f
b04666edf046465a2664c752937d7d80c68e1464
STORM-3682 Upgrade netty client metrics to use V2 API
## What is the purpose of the change This change switches the Netty Client send connection metrics to the V2 metrics API. ## How was the change tested Ran storm-client/storm-core unit tests. Ran topology and validated metrics were logged. Killed some workers and validated clients on others properly deregis...
diff --git a/docs/Metrics.md b/docs/Metrics.md index 561f2f06a0e..6ad80c7d2e3 100644 --- a/docs/Metrics.md +++ b/docs/Metrics.md @@ -268,25 +268,11 @@ Be aware that the `__system` bolt is an actual bolt so regular bolt metrics desc ##### Send (Netty Client) -The `__send-iconnection` metric holds information about ...
8
6
1
[{"id": "G0", "claim": "Now that the registry holds topologyId and port, the redundant topologyId/port parameters should be removed from the gauge and related registry methods, as a follow-up (STORM-3736).", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
apache__storm__3411
apache/storm
3,411
defect
0787d86010d83269b616e6f09c70ee45784b06d8
f46c08b0a4cccafdf43aab91470174110bda87f7
STORM-3793 add metric to track backpressure status for tasks
## What is the purpose of the change Be able to track which task is causing backpressure. ## How was the change tested Built code, ran storm-client unit tests, validated metric reports on a dev cluster.
diff --git a/docs/Metrics.md b/docs/Metrics.md index 11e5f276aca..5ae04c9c478 100644 --- a/docs/Metrics.md +++ b/docs/Metrics.md @@ -199,6 +199,10 @@ This metric records how much time a spout was idle because more tuples than `top This metric records how much time a spout was idle because back-pressure indicated tha...
1
1
0
[{"id": "G0", "claim": "Rename the new backpressure gauge metric from `__backpressure-overflow-count` to `__backpressure-last-overflow-count`, since it reflects the metric's meaning better and avoids confusion with the existing queue `-overflow` metric.", "category": "maintainability", "verdict": "supported", "priority...
null
apache__storm__3441
apache/storm
3,441
defect
a0cbf5a3d7f043ffe529b7dae1a2759de7ba49d5
1988a47f2b82ec103fffb02fc323aab0de3b09c6
STORM-3822 fix visualization when streamId contains colon
## What is the purpose of the change This fixes [STORM-3822](https://issues.apache.org/jira/browse/STORM-3822), making the Topology Visualization UI render correctly when a streamId contains a colon character. ## How was the change tested I have tested with a modified version of WordCountTopology where I used ...
diff --git a/.travis.yml b/.travis.yml index 1b5a3fa8c57..456b2269222 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ env: - MODULES=Integration-Test - MODULES=Check-Updated-License-Files -dist: xenial +dist: bionic sudo: required before_cache: @@ -54,9 +54,6 @@ before_install: - sudo apt-ge...
3
3
1
[{"id": "G0", "claim": "The sanitizeStreamName implementation should be cleaned up: the retained original \"\\\\s\"-prepending hack should be replaced by prefixing \"_s\" directly, as bipinprasad's suggested Character.isLetter-based rewrite does.", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
apache__storm__3560
apache/storm
3,560
defect
d7851dcacf7b5035ac806cd001606315e1d178f4
48cf376137fa253db9402d3ee485deaf9477af21
STORM-3945 - Upgrade Zookeeper to 3.9.0 & Curator 5.5.0
## What is the purpose of the change - Replace EOL Zookeeper with modern Zookeeper version. - Updates Curator - Note: Exhibitor support is dropped in modern curator
diff --git a/DEPENDENCY-LICENSES b/DEPENDENCY-LICENSES index e198d49cbf8..4d21473e726 100644 --- a/DEPENDENCY-LICENSES +++ b/DEPENDENCY-LICENSES @@ -11,6 +11,7 @@ List of third-party dependencies grouped by their license type. * Apache Commons FileUpload (commons-fileupload:commons-fileupload:1.5 - https://c...
3
3
2
[{"id": "G0", "claim": "The pull request should adopt the latest ZooKeeper 3.9.0 release instead of the stable 3.8.2 it pins in pom.xml.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The STORM_EXHIBITOR_* config constants in Config.java are no longer us...
null
apache__storm__3633
apache/storm
3,633
defect
93b4be284bd985af457a904ee647f051d9424405
d16136f3e43c2808fb3eec43671481b68d264dac
STORM-4051 - Scheduler needs to include acker memory for topology resources
## What is the purpose of the change The scheduler has a bug where acker memory is not considered in the scheduling estimate. The case I found was where a topology should fit on two supervisors, but the cluster has 1 available and 2 blacklisted. The scheduler thinks the topology should fit on one supervisor and fa...
diff --git a/storm-server/src/main/java/org/apache/storm/scheduler/Cluster.java b/storm-server/src/main/java/org/apache/storm/scheduler/Cluster.java index 953e52aa714..89d6849e93a 100644 --- a/storm-server/src/main/java/org/apache/storm/scheduler/Cluster.java +++ b/storm-server/src/main/java/org/apache/storm/scheduler/...
2
2
1
[{"id": "G0", "claim": "The wildcard import org.apache.storm.scheduler.* added to TestBlacklistScheduler.java should be replaced with explicit imports.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In the new getTotalAckerExecutorMemoryUsageFor...
null
apache__storm__3679
apache/storm
3,679
defect
088c0ddf800aa10a96c4edec603cb2425d04bf8b
2a0dc0ca3739284c3347a9032b045740fc0cf80d
STORM-4076 KafkaTridentSpoutEmitters can poll all partitions at once instead of one at a time
## What is the purpose of the change Currently 'KafkaTridentTransactionalSpoutEmitter' and 'KafkaTridentOpaqueEmitter' polls every partition assigned to the spout one by one while emitting new batches.  But this can be improved by leveraging Kafka Consumer's usual polling strategy. That is Kafka Broker will take ...
diff --git a/docs/FAQ.md b/docs/FAQ.md index 525514e918a..f59d45fad14 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -76,7 +76,7 @@ A trident-spout is actually run within a storm _bolt_. The storm-spout of a trid You should only store static data, and as little of it as possible, into the metadata record (note: maybe...
1
1
0
[{"id": "G0", "claim": "The local variable `ret` in KafkaTridentSpoutEmitter's batch-emit method should be given a more explicit name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__storm__3692
apache/storm
3,692
defect
664142c7820935cc5c78b7c2224c8b711ce541e6
9d70b8023304c0d8830668092561be0137992402
STORM-4075 Supprt mTLS between Storm and ZK
## What is the purpose of the change *(Explain why we should have this change)* ## How was the change tested *(Explain what tests did you do to verify the code change)*
diff --git a/conf/defaults.yaml b/conf/defaults.yaml index 1272d79100d..4368099725c 100644 --- a/conf/defaults.yaml +++ b/conf/defaults.yaml @@ -35,6 +35,8 @@ storm.zookeeper.retry.interval: 1000 storm.zookeeper.retry.intervalceiling.millis: 30000 storm.zookeeper.auth.user: null storm.zookeeper.auth.password: null +...
6
5
0
[{"id": "G0", "claim": "The TruststoreKeystore class should not be public and might additionally be final.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test's System.setProperty environment-property setup lines are questioned as to why they are nee...
null
apache__storm__8273
apache/storm
8,273
defect
8c67ddaf8927ca2af1cfd75f6fa6a89e5e542f61
36c4b816cf52453b47cb337a27be7438d3c971b0
KeyAlreadyExistsException now does not cause downloadMissingBlob to return false
## What is the purpose of the change https://github.com/apache/storm/issues/7978 ## How was the change tested Create unit test for this case
diff --git a/storm-server/src/main/java/org/apache/storm/blobstore/BlobStoreUtils.java b/storm-server/src/main/java/org/apache/storm/blobstore/BlobStoreUtils.java index cc1d5455067..f42b0c7e03e 100644 --- a/storm-server/src/main/java/org/apache/storm/blobstore/BlobStoreUtils.java +++ b/storm-server/src/main/java/org/ap...
1
1
0
[{"id": "G0", "claim": "Avoid wildcard (\"*\") imports (e.g. org.apache.storm.generated.*) in BlobStoreUtilsTest.java, using explicit imports instead.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__storm__8415
apache/storm
8,415
defect
76b9b4d30628123fa8b3f9d2d26a139cae160b0f
841f508455d4a72e8718fc678f0e147176e76ea0
Implement size-based file rotation for FileBasedEventLogger
## Its a feature request ## What is the purpose of the change The `FileBasedEventLogger` currently has no bounds on the amount of data it writes to `events.log`, which can lead to disk exhaustion over time for long-running topologies. There is a `//TODO: file rotation` comment in the code indicating this was plan...
diff --git a/storm-client/src/jvm/org/apache/storm/Config.java b/storm-client/src/jvm/org/apache/storm/Config.java index a098e6cb632..e8d41260023 100644 --- a/storm-client/src/jvm/org/apache/storm/Config.java +++ b/storm-client/src/jvm/org/apache/storm/Config.java @@ -477,6 +477,20 @@ public class Config extends HashMa...
11
9
3
[{"id": "G0", "claim": "There is no need to create a File object in initLogWriter just to get the current size; use the NIO API instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Introduce named constants for the magic numbers (1024L * 1024...
null
apache__stormcrawler__1010
apache/stormcrawler
1,010
defect
70bd698d4e33e3d0b15a6c53ff39da67b4651ee1
a69356b00b0cec44c1ef2848e4ec86982bfc2ca1
[WARC] Backward compatible storage of HTTP/2 headers
This PR addresses #828: - the Okhttp protocol stores HTTP and TLS versions (if HTTP headers are stored) - the WARC record formats normalize HTTP request and response status lines - replace HTTP version strings other than "HTTP/1.0" and "HTTP/1.1" - HTTP and TLS/SSL protocol versions are stored in the WARC header...
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/ProtocolResponse.java b/core/src/main/java/com/digitalpebble/stormcrawler/protocol/ProtocolResponse.java index b9b7baf0d..8b661bd20 100644 --- a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/ProtocolResponse.java +++ b/core/src/main/ja...
10
8
1
[{"id": "G0", "claim": "The changes should be tried in a real crawl before the pull request is merged.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Mark the `protocols` and `handshake` locals in HttpProtocol.intercept as final to make reassignments ex...
null
apache__stormcrawler__1054
apache/stormcrawler
1,054
defect
5573ed67dd95467296f78311b8b840ef9649228d
ff479d702638b125ce582e2498270201140610ce
Issue #1043: Fixing problems after restart of Frontier service
Hello, this PR should fix two problems which I faced when the crawler was communicating with an URLFrontier service, and this service was down and restarted. These problems do not appear in case the URLFrontier just keeps running without any complications. However, in case the URL Frontier goes down and has to be re...
diff --git a/external/urlfrontier/pom.xml b/external/urlfrontier/pom.xml index 6dbf4a4b4..64899a738 100644 --- a/external/urlfrontier/pom.xml +++ b/external/urlfrontier/pom.xml @@ -40,6 +40,13 @@ </systemPropertyVariables> </configuration> </plugin> + <plugin> + <groupId>com.cosium.code</groupId> + ...
11
11
3
[{"id": "G0", "claim": "The PR needlessly re-creates the gRPC ManagedChannel to recover from connection loss, although the channel itself reconnects automatically and only the stream observers need re-creating.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
apache__stormcrawler__1055
apache/stormcrawler
1,055
defect
fecdd064350dc9596c5c58cbf97f98a73a668c49
f9c30edf95da5212361bf90b133ea443ca8cddb3
Issue #1042: Adapt parsing of robots.txt files
Modified implemention of Robots.txt parsing as described in Issue #1042 Motivation was the following: In case the web server answers with an server error, according to the IETF RFC 9309 the website should not be crawled (except you encounter these Server errors over a long time such that you can assume that there is n...
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java b/core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java index 32ff01c45..0c55b9eb9 100644 --- a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java +++ b/core...
4
4
3
[{"id": "G0", "claim": "Making forbid-all the default for HTTP status codes not handled explicitly wrongly blocks crawling on a 404 (robots.txt not found), where crawling should be allowed; the reviewer asks not to swap the defaults since in the wild the crawler may see any status code.", "category": "correctness", "ve...
null
apache__stormcrawler__1062
apache/stormcrawler
1,062
defect
56fa9b7b2d0aded6a0dc290e42ac6574227b7080
fc8cdd84b7751d2f709246c06860570d8baed00b
BasicURLNormalizer .unmangleQueryString() returns invalid results if "&" symbol in a parents path #1059
BasicURLNormalizer .unmangleQueryString() returns invalid results if "&" symbol in a parents path #1059 Analyze only last item in a URL path. Test added.
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/filtering/basic/BasicURLNormalizer.java b/core/src/main/java/com/digitalpebble/stormcrawler/filtering/basic/BasicURLNormalizer.java index 7b6c8c6cb..2fb46fd40 100644 --- a/core/src/main/java/com/digitalpebble/stormcrawler/filtering/basic/BasicURLNormalizer....
2
2
0
[{"id": "G0", "claim": "The repeated expression pathElements[pathElements.length - 1] should be stored in a String variable for readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The method should test for firstAmp == -1 and return urlT...
null
apache__stormcrawler__1071
apache/stormcrawler
1,071
defect
acddeb2b3a87b57292d560b9617c7dbb87e3c8af
b3277332c1f977d11c9980667783a3d18e0760d7
mechanism to retrieve more generic value of configuration
if a specific one is not found, fixes #1070 Used for OpenSearch only, the same could be used for Elasticsearch
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/util/ConfUtils.java b/core/src/main/java/com/digitalpebble/stormcrawler/util/ConfUtils.java index 589ebad2b..2a782f67a 100644 --- a/core/src/main/java/com/digitalpebble/stormcrawler/util/ConfUtils.java +++ b/core/src/main/java/com/digitalpebble/stormcrawler...
1
1
0
[{"id": "G0", "claim": "The new @param block tags for prefix and suffix in loadListFromConf's javadoc have empty descriptions and should be filled in or removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__stormcrawler__1074
apache/stormcrawler
1,074
defect
6a15da1dbe4761a535300142a4864637beb7265d
06abd50736b93cd2e0a6f8328582fd2e62349ac3
Increase the number of redirects to 5 for Robots.txt fetching
Described in Issue #1058 In IETF RFC9309 (Robots Exclusion Protocol), it is stated that crawlers should follow up to 5 consecutive redirects in their attempt to fetch a Robots.txt file. Up to now, the SC only followed one level of redirects. So this code change might slightly improve the politeness of the crawler
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java b/core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java index 81dc95390..de062b599 100644 --- a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java +++ b/core...
1
1
0
[{"id": "G0", "claim": "The local variable max_num_redirects should be a static final field instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__stormcrawler__1117
apache/stormcrawler
1,117
defect
91ae977859dfad1705c0aed66ae38a44761aec6e
374e0bbb9b8686959cb9f39b91d178867bb65e92
Issue #728: Adding asterisk for metadata transfer
Hello all Goal: When having a lot of metadata fields that all start with the same prefix, e.g. `parse.[...]`, one can simply write ``` metadata.persist: - parse.* ``` instead of listing them all. Besides that, making mdToTransfer, mdToPersistOnly, trackPath and trackDepth protected instead of private. This ...
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/util/MetadataTransfer.java b/core/src/main/java/com/digitalpebble/stormcrawler/util/MetadataTransfer.java index 3e9d5568e..6df5a940e 100644 --- a/core/src/main/java/com/digitalpebble/stormcrawler/util/MetadataTransfer.java +++ b/core/src/main/java/com/digit...
4
4
1
[{"id": "G0", "claim": "Metadata should get a copy(target, key, allowNull) method, and _filter should copy the values directly instead of storing the matching keys in a set and iterating over it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Metadata sh...
null
apache__stormcrawler__1130
apache/stormcrawler
1,130
defect
87145c3af0cdf8e76f602f5dbdc42d53cd4c10ab
42732f5d3dbef860393d128f3250990f4169b707
Glob field mapping for indexer.md.mapping
Make it easier to map entire lists of k/v sharing a prefix
diff --git a/archetype/src/main/resources/archetype-resources/crawler-conf.yaml b/archetype/src/main/resources/archetype-resources/crawler-conf.yaml index 65a18280a..286a05159 100644 --- a/archetype/src/main/resources/archetype-resources/crawler-conf.yaml +++ b/archetype/src/main/resources/archetype-resources/crawler-c...
1
1
0
[{"id": "G0", "claim": "The commented-out line \"// for (Entry<Key, String> entry : metadata2field.entrySet()) {\" left in filterMetadata can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__stormcrawler__1210
apache/stormcrawler
1,210
defect
c1088fb3ff3ca9ca99bcce108d8bb2b40b97c094
af928e7a6141d88663aa9c497cfb5bdbf8099283
#1209 fix for emulation error in tests run on silicon
This addresses the container emulation issue referenced in #1209 ### For all changes: - [x] Is there a issue associated with this PR? Is it referenced in the commit message? - [x] Does your PR title start with `#XXXX` where `XXXX` is the issue number you are trying to resolve? - [x] Has your PR been rebased...
diff --git a/README.md b/README.md index bc3cb8f61..15ad88922 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,10 @@ Please format your code before submitting a PR with ``` mvn git-code-format:format-code -Dgcf.globPattern=**/* ``` +If you are running commands in a zsh shell, you may need to execute: +```shell +m...
1
1
0
[{"id": "G0", "claim": "Wonder if a fixed image tag could be used instead of \"latest\", since \"latest\" can vary between environments and runs making reproducibility difficult.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__stormcrawler__1239
apache/stormcrawler
1,239
defect
abd9918d30aad3723c970fe88ce1adaa0d2fdc03
399ecb4164a1aef79f64b1e1f44bd86bd8e59eda
#1238 - Avoid use of star imports
Thank you for contributing to Apache StormCrawler. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [x] Is there a issue associated with this PR? Is it referenced in the commit message? - [x] Does your PR title start with `...
diff --git a/archetype/src/main/resources/archetype-resources/src/main/java/CrawlTopology.java b/archetype/src/main/resources/archetype-resources/src/main/java/CrawlTopology.java index 4c354952d..0fc247b53 100644 --- a/archetype/src/main/resources/archetype-resources/src/main/java/CrawlTopology.java +++ b/archetype/src...
1
1
1
[{"id": "G0", "claim": "The archetype template's package declaration was mangled to `package $` (the ${package} placeholder accidentally dropped), so the class may not be generated correctly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__stormcrawler__135
apache/stormcrawler
135
defect
c926556a8d13a0d3363bd602c73b11b5087db6ee
2e0b80e0c62bfea9db0aad1cd2614a481814505e
Allowing the parse output to output more than one document
This address the https://github.com/DigitalPebble/storm-crawler/issues/117 issue at some extent this also encapsulate in a `ParseResult` the parsing data/metadata of a URL. Each URL has only one `ParseResult` which at the same time has at least 1 `ParseData` instance to hold the data of the "parent" URL in case subdocu...
diff --git a/core/src/main/java/com/digitalpebble/storm/crawler/bolt/JSoupParserBolt.java b/core/src/main/java/com/digitalpebble/storm/crawler/bolt/JSoupParserBolt.java index 2119a7cb5..919a3aaae 100644 --- a/core/src/main/java/com/digitalpebble/storm/crawler/bolt/JSoupParserBolt.java +++ b/core/src/main/java/com/digit...
10
8
1
[{"id": "G0", "claim": "The change to RandomURLSpout's default URL list does not need to be made and should be reverted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ParseResult.put() seeds entries for URLs not yet in the map with the shared s...
null
apache__stormcrawler__1587
apache/stormcrawler
1,587
defect
994312939f1f584d32fa0da1c74f66cd5a77dd67
93cae15d428ba12c5e25cd4ae88e3b376827d13d
#108 Replace custom HttpHeaders constants with the org.apache.http.HttpHeaders ones
Replaced the Custom `org.apache.stormcrawler.protocol.HttpHeaders` to the `org.apache.http.HttpHeaders` one. There was a small glitch in the `org.apache.stormcrawler.Metadata` caused by the changed initial letters. E.g.: "location" -> "Location" "content-type" -> "Content-Type" So I extended the `Metadata.getV...
diff --git a/THIRD-PARTY.txt b/THIRD-PARTY.txt index 83abcf0d1..dae4a1eaa 100644 --- a/THIRD-PARTY.txt +++ b/THIRD-PARTY.txt @@ -57,6 +57,7 @@ List of third-party dependencies grouped by their license type. * Apache HttpAsyncClient (org.apache.httpcomponents:httpasyncclient:4.1.5 - http://hc.apache.org/httpcom...
5
4
4
[{"id": "G0", "claim": "The pull request should not add httpcore5 (Apache HttpComponents Core 5.x) alongside the HttpClient 4 stack — either upgrade to version 5 consistently or maintain consistency by sticking with version 4 throughout.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introd...
null
apache__stormcrawler__1646
apache/stormcrawler
1,646
defect
f392ddd1c0eb9db0b72dd4e9e03e190537bc5b86
87c8249c19517ff9a42c4d85f1ae8a55127952ec
#1604 - Externalise Selenium
Moves the Selenium code to `external/selenium`. The README for the new module should be improved (contributions welcome)
diff --git a/core/pom.xml b/core/pom.xml index 86d54c350..2fd6d374f 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -46,14 +46,14 @@ under the License. <commons.lang.version>2.6</commons.lang.version> <wiremock.version>3.13.1</wiremock.version> <rometools.version>2.1.0</rometools.version> - <selenium.version>...
6
6
0
[{"id": "G0", "claim": "The JaCoCo coverage ratios in external/selenium/pom.xml are set to 0.00 and should be raised to meaningful values (or coverage verification disabled via haltOnFailure=false).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
apache__stormcrawler__1647
apache/stormcrawler
1,647
defect
fee1d0d3541083ea34112d0b76537eb0f54c4a19
c0e3fe54b9b1f553815300cb5f133b84bd8b4fb3
Improve MetadataFilter
This pull request suppose to address the #711 issue. I created a complex filtering logic where any operation can be assembled. E.g.: I created test cases where these are the filters - key=>val OR (key2=>val2 AND key3=>val3) - key=>val AND (key2=>val2 OR key3=>val3) What do you think?
diff --git a/core/src/main/java/org/apache/stormcrawler/filtering/metadata/MetadataFilter.java b/core/src/main/java/org/apache/stormcrawler/filtering/metadata/MetadataFilter.java index 955411a7b..18668d1cf 100644 --- a/core/src/main/java/org/apache/stormcrawler/filtering/metadata/MetadataFilter.java +++ b/core/src/main...
3
3
1
[{"id": "G0", "claim": "Add an example to the JavaDoc showing how to specify the MetadataFilter in a (JSON) config.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test backed with a urlfilters.json to make sure the filter works when loaded a...
null
apache__stormcrawler__1833
apache/stormcrawler
1,833
defect
50c30074df13b8f3c1dd5dd41a142152c435ed5f
721d8921ddd78f28351ce4b199c540fef0c62d36
Fix Solr 10 migration
Fixes #1831
diff --git a/THIRD-PARTY.txt b/THIRD-PARTY.txt index a4475a0f6..d83bdb35b 100644 --- a/THIRD-PARTY.txt +++ b/THIRD-PARTY.txt @@ -27,6 +27,7 @@ List of third-party dependencies grouped by their license type. * Apache Commons Crypto (org.apache.commons:commons-crypto:1.1.0 - https://commons.apache.org/proper/com...
8
8
4
[{"id": "G0", "claim": "The configsets pin luceneMatchVersion to 10.0.0, while Solr 10.0.0's default configsets use 10.3, so we might as well pin to 10.3 instead (minor).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "flushUpdates wraps a synchr...
null
apache__stormcrawler__1857
apache/stormcrawler
1,857
defect
1d422b5e8bb7fe1db2c87a842f3ce9bdcff2a7d6
785ee2c3d9baede9df27fc865e7fd6d31317500a
Add XPath JSoup filter tests for XSoup backward compatibility
## Summary - Adds 6 new tests to `JSoupFiltersTest` covering XPath features used by the JSoup `XPathFilter`: attribute extraction (`/@attr`), `tidyText()`, `allText()`, `html()` functions, uppercase element name handling, and fallback expression logic. - Assertions are intentionally written to pass with both XSoup and ...
diff --git a/core/src/test/java/org/apache/stormcrawler/jsoup/JSoupFiltersTest.java b/core/src/test/java/org/apache/stormcrawler/jsoup/JSoupFiltersTest.java index 109935266..c95905ab1 100644 --- a/core/src/test/java/org/apache/stormcrawler/jsoup/JSoupFiltersTest.java +++ b/core/src/test/java/org/apache/stormcrawler/jso...
1
1
1
[{"id": "G0", "claim": "The new test resource core/src/test/resources/xpath-test.html is missing the Apache license header, which fails the RAT checks.", "category": "licensing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
apache__stormcrawler__1870
apache/stormcrawler
1,870
defect
cdac7e462e35b143dfd2cdacd5f42be627f96e1b
537e16341067c245aeb76052743ee5f812b0d5db
Extract DelegateRefresher to deduplicate JSON resource wrapper logic
## Summary - Extracts near-identical delegate loading, JSONResource validation, and periodic OpenSearch refresh logic from `JSONURLFilterWrapper` and `JSONResourceWrapper` into a new generic `DelegateRefresher<T>` class - Reduces each wrapper from ~180 lines to ~75 lines while preserving all existing behavior - Adds 8 ...
diff --git a/external/opensearch/src/main/java/org/apache/stormcrawler/opensearch/DelegateRefresher.java b/external/opensearch/src/main/java/org/apache/stormcrawler/opensearch/DelegateRefresher.java new file mode 100644 index 000000000..829533886 --- /dev/null +++ b/external/opensearch/src/main/java/org/apache/stormcra...
3
3
3
[{"id": "G0", "claim": "The refresh timer's initial delay of 0 makes it fire on a background thread during configure() before the bolt is fully initialised and a failing OpenSearchConnection.getClient() is silently swallowed, so the initial delay should be refreshRate * 1000L (or the immediate execution documented).", ...
null
apache__stormcrawler__42
apache/stormcrawler
42
defect
1ad1cf5b526ac0d81df1e6e10dbad0b5c7492f61
7368457f84bbd1df53a18f48b813456735f075b3
Sitemaps parser
See #38 This adds a SiteMapParserBolt and a test class. It also reorganizes the test resources and makes the ParsingTester more generic. As discussed, this Bolt uses a non-default stream 'status' to output the newly discovered URLs and the default stream for documents that are not marked as being sitemaps. Could yo...
diff --git a/src/main/java/com/digitalpebble/storm/crawler/bolt/SiteMapParserBolt.java b/src/main/java/com/digitalpebble/storm/crawler/bolt/SiteMapParserBolt.java new file mode 100644 index 000000000..b66b80eb0 --- /dev/null +++ b/src/main/java/com/digitalpebble/storm/crawler/bolt/SiteMapParserBolt.java @@ -0,0 +1,167 ...
13
7
3
[{"id": "G0", "claim": "Failing the tuple when the sitemap cannot be parsed makes spouts such as Storm's Kafka spout replay the tuple ad infinitum and clog the topology; the bolt should ack the tuple and log the error instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
apache__stormcrawler__691
apache/stormcrawler
691
defect
e808fbd870d9629732b419f62fa37522b10f7362
5c1b7ce3d57d8fde98b09fe2e54dbc8215aa5b40
WARC format improvements
This PR combines a list of improvements to the WARC writer bolt and record formats but also to the okhttp-based protocol implementation: - generate WARC request records (#509) by calling `withRequestRecords()` on an existing WARCHdfsBolt. - use capture time (when fetching began) for WARC-Date not the time the WARC re...
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/ProtocolResponse.java b/core/src/main/java/com/digitalpebble/stormcrawler/protocol/ProtocolResponse.java index ffa45c3b8..d7b63eaeb 100644 --- a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/ProtocolResponse.java +++ b/core/src/main/ja...
12
10
5
[{"id": "G0", "claim": "The date-formatting machinery added to HttpProtocol (ISO_INSTANT formatter with ZonedDateTime and a UTC ZoneId) is redundant and the protocol should instead store the fetch time as a long, leaving the WARC date formatting to the WARC code.", "category": "design", "verdict": "supported", "priorit...
null
apache__stormcrawler__74
apache/stormcrawler
74
defect
edce44d8845e6f607bf0c8b72fa3e511ea0ffecd
58a13e5597df00876580b3dda4b66dbf9124bb84
Implement filtering of URL by host/domain via the regular URLFilter
- Extended the URLFilter interface to take the source URL and the metadata when filtering - Also passed the storm config in the configure method, just like I did for the ParseFilter - Replaced URLFilterUtil with HostURLFilter
diff --git a/core/crawler-conf.yaml b/core/crawler-conf.yaml index efd7941a6..cf710d365 100644 --- a/core/crawler-conf.yaml +++ b/core/crawler-conf.yaml @@ -43,8 +43,6 @@ parsefilters.config.file: "parsefilters.json" urlfilters.config.file: "urlfilters.json" parser.htmlmapper.classname: "org.apache.tika.parser.html...
3
2
1
[{"id": "G0", "claim": "The HostURLFilter's settings (ignoreOutsideHost/ignoreOutsideDomain) are easier to change in the general config than buried in urlfilters.json, and since the patch lets filters be configured from the global config they should be left there.", "category": "design", "verdict": "opposed", "priority...
null
apache__stormcrawler__866
apache/stormcrawler
866
defect
2d4ed3d28a943198c85dead2715e102593f09cad
08ce0479a2362ed7fb2d58e85ec424e8bb1020db
Scheduler implementations return an Optional<Date>
implements #861 Using Optional<Date> would have worked but require a big change in the API whereas _null_ allows to keep it as it is. @sebastian-nagel any thoughts?
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/persistence/AbstractStatusUpdaterBolt.java b/core/src/main/java/com/digitalpebble/stormcrawler/persistence/AbstractStatusUpdaterBolt.java index 002a0e7ce..257917929 100644 --- a/core/src/main/java/com/digitalpebble/stormcrawler/persistence/AbstractStatusUpd...
4
4
2
[{"id": "G0", "claim": "StdOutStatusUpdater should check nextFetch.isPresent() instead of nextFetch != null, and the indentation of the added lines is wrong.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Javadoc of Scheduler.schedule should sta...
null
apache__stormcrawler__890
apache/stormcrawler
890
defect
be78b498fffe664993e987c020c5481039543a32
aeeccdb82a2e8cc60e1fc15978dca9e863175cc8
Multi proxy support
Thanks for contributing to StormCrawler, your efforts are appreciated! Developer Certificate of Origin =============================== By contributing to StormCrawler, you accept and agree to the following terms and conditions (the *Developer Certificate of Origin*) for your present and future contributions subm...
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/AbstractHttpProtocol.java b/core/src/main/java/com/digitalpebble/stormcrawler/protocol/AbstractHttpProtocol.java index 02b6d1e69..e9f9e9a19 100644 --- a/core/src/main/java/com/digitalpebble/stormcrawler/protocol/AbstractHttpProtocol.java +++ b/core...
10
9
2
[{"id": "G0", "claim": "The pull request's commits contain an empty file external/elasticsearch/.attach_pid2715970 which should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Proxy configuration details (rotation scheme, proxy file, ...
null
apache__stormcrawler__953
apache/stormcrawler
953
defect
e07e34edef6e2724ef4e00c68ae554432273b777
c4a30b90d34db0bfbe4c61f9e97dc94b3b5e92c8
Rewrote LinkParseFUlter + added XPathFilter + tests for JSOUPFilters
The parsing bolts can become the botteneck on some crawls if parsefilters requiring xpath are in the configuration. This is due to the fact that this triggers a conversion from the JSoup document to a DOM representation which is then used with Xpath. This can become costly. We recently added JsoupFilters (#847) so ...
diff --git a/archetype/src/main/resources/archetype-resources/crawler-conf.yaml b/archetype/src/main/resources/archetype-resources/crawler-conf.yaml index de45e7bc6..221ebf9c1 100644 --- a/archetype/src/main/resources/archetype-resources/crawler-conf.yaml +++ b/archetype/src/main/resources/archetype-resources/crawler-c...
1
1
0
[{"id": "G0", "claim": "The inner class LabelledExpression should be static because it does not reference its enclosing class (Error Prone ClassCanBeStatic).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__stormcrawler__98
apache/stormcrawler
98
defect
4617c7fe9946e33916302fdc6e88d06fc95c19cd
45c6372b40f29394b163f077676a3fd5578a8beb
Add a normalizer to remove specified query parameters.
Easier to reason about than writing regular expressions to normalize a particular query parameter. Handles things like remove the ? if there are no more query parameters. @jnioche not sure if you'd think this generally useful? I can easily pull into our own project, but would like your feedback anyway :) so started h...
diff --git a/core/src/main/java/com/digitalpebble/storm/crawler/filtering/basic/QueryParameterNormalizer.java b/core/src/main/java/com/digitalpebble/storm/crawler/filtering/basic/QueryParameterNormalizer.java new file mode 100644 index 000000000..3e6319cd1 --- /dev/null +++ b/core/src/main/java/com/digitalpebble/storm/...
8
6
2
[{"id": "G0", "claim": "The normalizer could be part of BasicURLFilter instead of a separate filter, and the list of parameters to remove could be put in the normal config rather than a separate config file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
apache__streampark__2317
apache/streampark
2,317
defect
2a4d2192ab29d73d1011585c4210d6d2c913b242
dd329db484d7af2b3069234c112fb015dd51a6c4
[Issue-2299] Support the yarn queue label quick-setting for yarn application mode.
<!-- Thank you for contributing to StreamPark! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. ## Contribution Checklist - If this is your first time, please read our contributor guidelines: [Submit Code](https:/...
diff --git a/streampark-common/src/main/scala/org/apache/streampark/common/conf/ConfigConst.scala b/streampark-common/src/main/scala/org/apache/streampark/common/conf/ConfigConst.scala index d02dc6d31b8..ab9d325eb05 100644 --- a/streampark-common/src/main/scala/org/apache/streampark/common/conf/ConfigConst.scala +++ b/...
9
9
1
[{"id": "G0", "claim": "The constants AT and REGEX in YarnQueueLabelExpression should be private rather than public.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "checkQueueLabelIfNeed should be restructured to guard with ExecutionMode.isYarnMode(execut...
null