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__pulsar-client-go__611 | apache/pulsar-client-go | 611 | defect | b6841513379ea9ca503d1e350c5f93198fc2b03f | 1fc8e256809f40291f2498c572225ad62ce07a5a | feat: support multiple schema version for producer and consumer |
### Motivation
Implement [PIP-43.](https://github.com/apache/pulsar/wiki/PIP-43%3A-producer-send-message-with-different-schema#changespart-1)
Support multiple schema version for producer and consumer.
### Modifications
- add schema cache for producer and consumer
- add `DisableMultiSchema` option for pro... | diff --git a/pulsar/consumer_partition.go b/pulsar/consumer_partition.go
index cf9294978d..4d7b62764a 100644
--- a/pulsar/consumer_partition.go
+++ b/pulsar/consumer_partition.go
@@ -18,6 +18,7 @@
package pulsar
import (
+ "encoding/hex"
"fmt"
"math"
"sync"
@@ -141,6 +142,63 @@ type partitionConsumer struct {... | 3 | 1 | 0 | [{"id": "G0", "claim": "The named return values in the new schemaInfoCache functions should be removed because mixing valued and bare returns makes the code hard to follow.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cast in (*schema).Dec... | null |
apache__pulsar-client-go__743 | apache/pulsar-client-go | 743 | defect | 1be07f91e842b1d5ec9cd25675de79a398b243d1 | 1586345834b75147957bc35d49cdf75aaf6ed67a | Add TableView support | Fixes https://github.com/apache/pulsar/issues/13929
### Motivation
This adds TableView support to the Golang client so it can have feature parity with the Java client.
See https://github.com/apache/pulsar/issues/12356 and https://github.com/apache/pulsar/pull/12838 for context.
### Modifications
Add `Tab... | diff --git a/pulsar/client.go b/pulsar/client.go
index 8ff152a948..f4642c6b62 100644
--- a/pulsar/client.go
+++ b/pulsar/client.go
@@ -141,6 +141,10 @@ type Client interface {
// This method will block until the reader is created successfully.
CreateReader(ReaderOptions) (Reader, error)
+ // CreateTableView creat... | 7 | 4 | 2 | [{"id": "G0", "claim": "The accessors (e.g. Entries()/Keys()) return views of the underlying map, so users could inadvertently change the entries in the TableView; they should return copies of the underlying data instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i... | null |
apache__pulsar-client-go__776 | apache/pulsar-client-go | 776 | defect | 5108332c9dd4cb454c26804304bffb82eeffc713 | b6e08dc96b7fce4aee887e09f67030c2aa9c3b61 | Support ack response for Go SDK | Signed-off-by: xiaolongran <xiaolongran@tencent.com>
### Motivation
Follow https://github.com/apache/pulsar/pull/8161, support Ack Response Command for Go SDK
### Modifications
- Add `AckWithResponse` in `ConsumerOptions` struct
| diff --git a/pulsar/consumer.go b/pulsar/consumer.go
index dfe27c58d1..2df16374c4 100644
--- a/pulsar/consumer.go
+++ b/pulsar/consumer.go
@@ -182,6 +182,13 @@ type ConsumerOptions struct {
// > Notice: the NackBackoffPolicy will not work with `consumer.NackID(MessageID)`
// > because we are not able to get the red... | 2 | 1 | 1 | [{"id": "G0", "claim": "The code that sends the ack request with response and logs the error should also handle the callback for the response (e.g. on success and when setting req.err).", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A test should be... | null |
apache__pulsar-client-go__815 | apache/pulsar-client-go | 815 | defect | 6a8e7f39aac100a285a2c190186e38b73a5c9d34 | 5f5be0d8ff7bcb4ba19252ede104e866accd16fe | [issue 814] consumer and producer reconnect failure metrics counter | Implement #814
### Motivation
In a Pulsar cluster's kubernetes deployment or a deployment with Proxy/LB in the front, we need metrics counter to track the re-connection failure producers and consumers.
When brokers go offline but the proxy/LB is still functioning, TCP connection can still be established but the... | diff --git a/pulsar/consumer_partition.go b/pulsar/consumer_partition.go
index fac9d4bdd2..946cb401be 100644
--- a/pulsar/consumer_partition.go
+++ b/pulsar/consumer_partition.go
@@ -1155,6 +1155,9 @@ func (pc *partitionConsumer) reconnectToBroker() {
if maxRetry > 0 {
maxRetry--
}
+ if maxRetry == 0 || back... | 1 | 1 | 1 | [{"id": "G0", "claim": "The reconnect failure counters should be incremented on every failed reconnect attempt, not only when max retries are exhausted or max backoff is reached, which never occurs when unlimited retries are enabled (raised for the consumer, then the same for the producer).", "category": "correctness",... | null |
apache__pulsar-client-go__883 | apache/pulsar-client-go | 883 | defect | 44b64aa712a0d85ce7562134c0f7cf3d21f17ac0 | eb471672ae10d81ddd00dacfad5cd0ebbe81c575 | Add data url format to read the key file | ### Motivation
Add data url format to read the key file, same with the java client.
This closes #866.
| diff --git a/oauth2/client_credentials_provider.go b/oauth2/client_credentials_provider.go
index 78c7228614..402de2c862 100644
--- a/oauth2/client_credentials_provider.go
+++ b/oauth2/client_credentials_provider.go
@@ -19,6 +19,7 @@ package oauth2
import (
"encoding/json"
+ "fmt"
"io/ioutil"
"strings"
)
@@ -5... | 2 | 1 | 1 | [{"id": "G0", "claim": "The explicit check rejecting data URLs whose Mimetype is not application/json should be relaxed so that users who omit Mimetype but pass a valid JSON payload are tolerated, letting the following json.Unmarshal throw the error instead.", "category": "design", "verdict": "supported", "priority": "... | null |
apache__pulsar-client-go__903 | apache/pulsar-client-go | 903 | defect | 48c39ee22c84184713af513a2bb68d2516eecf2f | aa198190394eff8c6d9ed05d2f7e515163cd11ce | [Issue 183] [Feat] Support cumulative acknowledge | Master Issue: #183
### Motivation
Cumulative acknowledgement is a useful feature. Users can use this feature to ack messages in the stream up to (and including) provided message.
Issue #183 shows more details.
### Modifications
- Add two api `AckCumulative` and `AckIDCumulative` for `Consumer`.
``` ... | diff --git a/pulsar/consumer.go b/pulsar/consumer.go
index ffef7860df..83893b9785 100644
--- a/pulsar/consumer.go
+++ b/pulsar/consumer.go
@@ -231,6 +231,14 @@ type Consumer interface {
// AckID the consumption of a single message, identified by its MessageID
AckID(MessageID) error
+ // CumulativeAck the receptio... | 3 | 3 | 0 | [{"id": "G0", "claim": "The methods CumulativeAck and CumulativeAckID should be renamed (suggested to AckIDCumulative-style naming) to match the acknowledge/acknowledgeCumulative naming used in other clients.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
apache__pulsar-client-go__904 | apache/pulsar-client-go | 904 | defect | 48c39ee22c84184713af513a2bb68d2516eecf2f | d327de56dec4af8b4cc925913c8c8cfd709908eb | [feat] support for consumer event listener |
Fixes #901
### Motivation
Support consumer active events.
### Modifications
Add an option to consumers, add callback on `BaseCommand_ACTIVE_CONSUMER_CHANGE`.
### Verifying this change
- [x] Make sure that the change passes the CI checks.
### Documentation
- Does this pull request int... | diff --git a/pulsar/consumer.go b/pulsar/consumer.go
index ffef7860df..0a515e0121 100644
--- a/pulsar/consumer.go
+++ b/pulsar/consumer.go
@@ -120,6 +120,9 @@ type ConsumerOptions struct {
// Default is `Latest`
SubscriptionInitialPosition
+ // EventListener will be called when active consumer changed (in failove... | 3 | 3 | 1 | [{"id": "G0", "claim": "Because a consumer can subscribe to multiple topics, the event listener callbacks (BecameActive/BecameInactive) should carry the topic name so the callback invocation can know which topic it corresponds to.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"},... | null |
apache__pulsar-client-go__957 | apache/pulsar-client-go | 957 | defect | 93a5a765b9ff9d756d0adc5d2de30f31e4cbf29f | 7f034b08104cde87f846314f4c90b9e9caaa60da | Support grouping ACK requests by time and size | Fixes #949
### Motivation
Currently the Go client does not support grouping ACK requests, so each time `Ack` (or similar APIs) is called, a ACK request will be sent, which could downgrade the performance. We need to support configuring the time and size to cache `MessageID` before sending ACK requests.
### Mo... | diff --git a/pulsar/ack_grouping_tracker.go b/pulsar/ack_grouping_tracker.go
new file mode 100644
index 0000000000..53f8c3452c
--- /dev/null
+++ b/pulsar/ack_grouping_tracker.go
@@ -0,0 +1,298 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE f... | 5 | 2 | 0 | [{"id": "G0", "claim": "The reviewer asks why the flushCh channel is created with a buffer of 10.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks why pendingAcks is defined in immediateAckGroupingTracker and whether it looks like it serv... | null |
apache__pulsar__18008 | apache/pulsar | 18,008 | defect | 7b53bd90604e80ed5653dcb9f9d4324d3d533d68 | ab4d1039996aa76b0e4732ad919bce50de10e225 | [improve][io] JDBC Sink: add flag to exclude non-declared fields | ### Motivation
In the JDBC sink even if you don't add a field to `key` or `nonKey` all the table fields are read from the table metadata and included in the INSERT/UPSERT statement. This limits the possibility to leverage database fields default value.
### Modifications
* Added new flag `excludeNonDeclaredFields... | diff --git a/pulsar-io/jdbc/core/src/main/java/org/apache/pulsar/io/jdbc/JdbcAbstractSink.java b/pulsar-io/jdbc/core/src/main/java/org/apache/pulsar/io/jdbc/JdbcAbstractSink.java
index 1d12909d5e251..708f1c1118f54 100644
--- a/pulsar-io/jdbc/core/src/main/java/org/apache/pulsar/io/jdbc/JdbcAbstractSink.java
+++ b/pulsa... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new documentation row for `excludeNonDeclaredFields` is ungrammatical and unclear and should be rewritten to read: \"All the table fields are discovered automatically. These fields indicate if the fields are not explicitly listed in `nonKey` and `key`, they must be included in the query. By ... | null |
apache__pulsar__18818 | apache/pulsar | 18,818 | defect | c45f16cd844334841f143979d39668c0c1fa25c3 | 49c00c7837116a3aea52e6a069c20d06605973f6 | [fix][broker] Fix the wrong behaviour when set `overrideBrokerNicSpeedGbps` | ### Motivation
This break was introduced by #14648 and affected unreleased 2.11.
### Modifications
- Multiply `overrideBrokerNicSpeedGbps` with the NIC number.
### Verifying this change
- [x] Make sure that the change passes the CI checks.
- [x] `doc-not-needed` <!-- Your PR changes do not impact do... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/LinuxBrokerHostUsageImpl.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/LinuxBrokerHostUsageImpl.java
index ecba0d3ae0169..a7489aefee72f 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/load... | 2 | 2 | 0 | [{"id": "G0", "claim": "Close the ScheduledExecutorService the new test creates before the test ends.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since getTotalNicLimitWithConfiguration was made public for testing, it can drop the @VisibleForTesting ... | null |
apache__pulsar__18833 | apache/pulsar | 18,833 | defect | d30e86c47c01e8d7823fcad4aa6e4b936e5d7521 | 356c36348f2b819169dbf302531c71e2dcb83951 | [fix] [tx] Transaction buffer recover blocked by readNext | Fixes #17040
### Motivation
#### Context for Transaction Buffer
- If turn on `transactionCoordinatorEnabled`, then `TransactionBuffer` will be initialized when a user topic create.
- The `TransactionBuffer` reads the aborted logs of transactions from topic `__transaction_buffer_snapshot` -- this process is ca... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/systopic/SystemTopicClient.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/systopic/SystemTopicClient.java
index 88ca099b4ca175..b71509075feaf1 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/systopic/SystemTopicClient.java
... | 6 | 5 | 1 | [{"id": "G0", "claim": "The recover loop should check whether the message is null directly instead of relying on a NullPointerException to detect that the latest message was deleted.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The timeout/deleted-mess... | null |
apache__pulsar__19051 | apache/pulsar | 19,051 | defect | d8569cd4ec6da14f8b2b9338db1ed2f6a3eacf0a | c12570ed34d45c77dfa638b012eec82316206165 | [fix][client] retry letter producer respect auto schema | * This supersedes #11550.
* This closes #11474.
### Verifying this change
Add a new test `testAutoConsumeSchemaRetryLetter`.
### Does this pull request potentially affect one of the following parts:
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
*If the box was checked, please highlight... | diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/client/api/RetryTopicTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/client/api/RetryTopicTest.java
index 3028392ada1e81..bbe504fb9b223d 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/client/api/RetryTopicTest.java
+++ b/pulsar-broker/src/... | 3 | 1 | 0 | [{"id": "G0", "claim": "The newly added `message.getReaderSchema().get()` on the retry-letter producer path may produce an NPE.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new testAutoConsumeSchemaRetryLetter needlessly exercises dead-letter de... | null |
apache__pulsar__19133 | apache/pulsar | 19,133 | defect | 9ec1d071c7188a2db694e9d7b359faaf33cb076e | 6297de5ad98d237f94a84a7ec6a95f2a586a09fd | [feat][ci] Add integration to ge.apache.org Gradle Enterprise server | ### Motivation
ASF Infra team together with Gradle Inc. has setup a dedicated Gradle Enterprise instance for Apache projects at https://ge.apache.org/ .
Gradle Enterprise works for both Gradle builds and Maven builds. There's a Maven extension which provides the integration for Maven builds, https://docs.gradle.c... | diff --git a/.github/actions/gradle-enterprise/action.yml b/.github/actions/gradle-enterprise/action.yml
new file mode 100644
index 0000000000000..935e76d3cd645
--- /dev/null
+++ b/.github/actions/gradle-enterprise/action.yml
@@ -0,0 +1,36 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more c... | 3 | 1 | 1 | [{"id": "G0", "claim": "Consider whether the Gradle Enterprise scan could replace codecov so as to reduce the number of reports (raised as a question).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Gradle Enterprise maven extension has a compatibility... | null |
apache__pulsar__19972 | apache/pulsar | 19,972 | defect | 68c10eed7604aa3dcc3a6d8b548575e99b94dca2 | 1469b8520090b41eec6f08ab29baa8a823b9a3eb | [fix][broker] Ignore and remove the replicator cursor when the remote cluster is absent | ### Motivation
Sometimes when a remote cluster is deleted, the replication cursor might still exist for some topics. In this case, creating producers or consumers on these topics will fail.
Here is a log observed in a production environment:
> WARN org.apache.pulsar.broker.service.BrokerService - Replication ... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
index fa08330ff3c353..587609fa84404c 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persiste... | 4 | 3 | 3 | [{"id": "G0", "claim": "Matching MetadataStoreException.NotFoundException by `ex.getMessage().equals(remoteCluster)` to decide whether to remove the cursor is not a safe signal; check the namespace and topic policies instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},... | null |
apache__pulsar__20000 | apache/pulsar | 20,000 | defect | 11751b7da2316516a2c18c11b3bd4011641b93f4 | ffa50ccafefe99d0f432ccff91a007c7f1653007 | [fix][fn] Support multiple input topics for Go runtime | <!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://pulsar.apache.org/contribute/develop-semantic-title/)*.
- Fill out the template below to describe the changes contributed by the pull request. That w... | diff --git a/pulsar-function-go/conf/conf.go b/pulsar-function-go/conf/conf.go
index c2ff443fcc40c..ccb4a8ea24876 100644
--- a/pulsar-function-go/conf/conf.go
+++ b/pulsar-function-go/conf/conf.go
@@ -50,8 +50,8 @@ type Conf struct {
SecretsMap string `json:"secretsMap" yaml:"secretsMap"`
Runtime ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The topic-name setup for the multiple-input case should be an else-if branch instead of an if/else nested inside `if (isTopicPattern || multipleInput)`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The backward-compatib... | null |
apache__pulsar__20068 | apache/pulsar | 20,068 | defect | dc1cdacab8eadbd3f9d207e66d4aefbca8bca920 | 78d265f692f1051b8d0d8abff63b6e5bbdaf4719 | [fix][broker] Fix tenant admin authorization bug. | Fixes #20066
### Motivation
Fixes the bug that producers/consumers will all disconnect while using tenant admin to produce/consume.
The root cause is that the permission check logic is not the same bewteen `org.apache.pulsar.broker.service.ServerCnx` and `org.apache.pulsar.broker.service.persistent.Persistent... | diff --git a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authorization/PulsarAuthorizationProvider.java b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authorization/PulsarAuthorizationProvider.java
index 3f6d38194713e..1913f874f571b 100644
--- a/pulsar-broker-common/src/main/java/org/apac... | 3 | 3 | 2 | [{"id": "G0", "claim": "canConsumeAsync should propagate the failure instead of swallowing validateTenantAdminAccess's exception with exceptionally, letting the exception be thrown.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If thenComposeAsync ... | null |
apache__pulsar__20242 | apache/pulsar | 20,242 | defect | 4ac117ffc86111e7c38ddadbf933c8be0749f507 | 18abbb048d1eadcc7e61f17f366622db2bbb4356 | [fix][client] Java Client's Seek Logic Not Threadsafe #1 | Fixes #19671
### Motivation
To resolve the thread-safety issue around Java client's seek logic identified by apache/pulsar#19671.
### Modifications
- Made ConsumerImpl immediately log, cancel future and then return if `duringSeek` flag is not false.
- by canceling the seekFuture, the client ensures tha... | diff --git a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java
index 199e8a9ae71b4..9e120dcf88a23 100644
--- a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java
+++ b/pulsar-client/src/main/... | 7 | 4 | 3 | [{"id": "G0", "claim": "The pull request's changes are unverified: a test should be added showing that a seek issued while another seek is in progress returns a cancelled future without sending a second request.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
apache__pulsar__20245 | apache/pulsar | 20,245 | defect | 1e9c7f5236866d07105421c566241e3798f63097 | 6af054cbb0168ee4c403bd9a3ea2b12ccad21fdb | [fix][client] Fix where the function getMsgNumInReceiverQueue always returns 0 when using message listener | <!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://pulsar.apache.org/contribute/develop-semantic-title/)*.
- Fill out the template below to describe the changes contributed by the pull request. That w... | diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/client/api/SimpleProducerConsumerTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/client/api/SimpleProducerConsumerTest.java
index 1bc437195d96d..a29d75cf3f65a 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/client/api/SimpleProducerConsumer... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new messageListenerQueueSize field should use AtomicIntegerFieldUpdater instead of AtomicInteger.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test is slow, so faster ways to test the queue counting (e.g. futures com... | null |
apache__pulsar__20623 | apache/pulsar | 20,623 | defect | e5606f28b89511e23c975b5266fc80168518a978 | edee09e46ed345f85f58051d6217e7a3339cc2ae | [improve][io] Elastic Search Sink can now handle raw Record | <!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://pulsar.apache.org/contribute/develop-semantic-title/)*.
- Fill out the template below to describe the changes contributed by the pull request. That w... | diff --git a/pulsar-io/elastic-search/src/main/java/org/apache/pulsar/io/elasticsearch/ElasticSearchSink.java b/pulsar-io/elastic-search/src/main/java/org/apache/pulsar/io/elasticsearch/ElasticSearchSink.java
index e2566d2063872..eabef316a8b15 100644
--- a/pulsar-io/elastic-search/src/main/java/org/apache/pulsar/io/ela... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the test data provider method stripNonPrintableCharacters to rawRecordSchema to match its @DataProvider name.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
apache__pulsar__20642 | apache/pulsar | 20,642 | defect | 43b3622cc7e7f746ca9920fdc704dc7448767ac7 | f9a8aa20f2e73f89715a63afcbcd2575fc41afc0 | [fix][meta] Bookie Info lost by notification race condition. | ### Motivation
This fixes https://github.com/apache/pulsar/issues/20643.
### Investigating
#### Why is the exception `Bookie handle is not available`?
We found this problem in the broker's continued to report `Bookie handle is not available` exception longer than 6 hours. The call chain should be as follows... | diff --git a/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/bookkeeper/PulsarRegistrationClient.java b/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/bookkeeper/PulsarRegistrationClient.java
index a32625926e72c..0866edab28de0 100644
--- a/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/book... | 6 | 2 | 1 | [{"id": "G0", "claim": "The path-parsing and BookieMode enum should live elsewhere, e.g. the RegistrationClient interface, or at least the if-else block should be extracted into a method or a value object.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G6", "claim": "O... | null |
apache__pulsar__20990 | apache/pulsar | 20,990 | defect | 3ab420cd81c31ebd16213e14580d9e317bc0698d | b52284e12fffb812709735f326c4235031590c48 | [fix][broker] Fix incorrect unack msk count when dup ack a message | Fixes #19268
### Modifications
When pendingAck not contains the message, it means the msg has been removed, so it can't update the unack msg count..
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java
index 176f033a6dcf1..1873e69040b8d 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java
+++ b/pulsar-broker/src/main/jav... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add `.isAckReceiptEnabled(true)` to the new consumer in testDuplicateAcknowledgement, otherwise the test will be unstable.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__pulsar__21193 | apache/pulsar | 21,193 | defect | 2aa8c3b1a284673b512db2b815514343ec3e7c19 | 4ad8160f84b04ee07d07c532fe472e7576c725c8 | [improve][broker] Avoid record inactiveproducers when deduplication is disable. | Fixes #21192
### Motivation
Short alive producer (create, send message, close) will create a lot record in deduplication inactiveproducers.
even there is clear logic but default interval is too long and is broker level.
### Modifications
if deduplication is disabled do not record producer in inactive produ... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/MessageDeduplication.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/MessageDeduplication.java
index 238dc740509b1..801c0b9fd0b59 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/... | 6 | 2 | 1 | [{"id": "G0", "claim": "Asks whether the new `!isEnabled()` early-return check can be moved out of `purgeInactiveProducers` into `checkMessageDeduplicationInfo`.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the `!isEnabled()` check from `purgeIn... | null |
apache__pulsar__21632 | apache/pulsar | 21,632 | defect | e1d06b5f54f08c09debab7a9a513b7c173c1779b | 7fae9f4a278fcb7a73617d11fda1bd0242d8fdb0 | [fix][broker] Fixed getting incorrect KeyValue schema version | Fixes #21587
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/SchemasResourceBase.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/SchemasResourceBase.java
index 0bab772044a6d..b4055ae830101 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/SchemasResource... | 1 | 1 | 0 | [{"id": "G0", "claim": "No exception will be thrown in the KEY_VALUE branch of HttpLookupService.getSchema, so the try-catch block can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__pulsar__22024 | apache/pulsar | 22,024 | defect | 5dfdcb7b0491bc799b02eb2035579c6072b18415 | 935f06fa206980922dd12900bf2f45030859ccfe | [fix] [txn] Get previous position by managed ledger. | ### Motivation
Max read position is before the first ongoing txn's position. But the entry id of the first message may be 0, calculate the max read position by `entry id - 1` is unsafe.
### Modifications
Calculate the max read position by method `managedLedger.getPreviousPosition`.
### Verifying this chan... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/buffer/impl/TopicTransactionBuffer.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/buffer/impl/TopicTransactionBuffer.java
index f356921d6988e7..58dc351c87f9e0 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar... | 5 | 4 | 1 | [{"id": "G0", "claim": "The comment this pull request adds at handleTransactionMessage should be reworded to drop the now-stale \"so entryId -1\" note.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please add a test for this change, and supplemen... | null |
apache__pulsar__24569 | apache/pulsar | 24,569 | defect | 6ad57da8e928d44178d0ee6c6e873b8a1f3a2ed7 | 9d86d25f1437dc146363f480bbb3163dd2a94727 | [fix][broker] Fix ManagedCursor state management race conditions and lifecycle issues | Fixes #24566
### Motivation
The test `ReplicatorTest.testCloseReplicatorStartProducer` was consistently failing due to critical issues introduced in PR #24551. Investigation (shared in https://github.com/apache/pulsar/issues/24566#issuecomment-3119993989 by @3pacccccc ) revealed that the changes led to infinite r... | diff --git a/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/ManagedLedgerException.java b/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/ManagedLedgerException.java
index 1fa565d6ec788..cee0d440dde3b 100644
--- a/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/ManagedLedgerException.j... | 22 | 6 | 2 | [{"id": "G0", "claim": "The log statement in asyncDeleteCursorLedger is missing the '{}' placeholder for the state parameter and should read 'state={}'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new lock and flag field names (waitingRegistr... | null |
apache__pulsar__24604 | apache/pulsar | 24,604 | defect | 1e57827b33395a2124593d95fa7641ee5e125d9b | d387e0ce9efc9c9a94152ee5dcb3ab84919209dd | [improve][io] Add dependency file name information to error message when .nar file validation fails with ZipException |
<!-- Either this PR fixes an issue, -->
Fixes #24585
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [x] `doc-not-needed` <!-- Your P... | diff --git a/pulsar-functions/utils/src/main/java/org/apache/pulsar/functions/utils/FunctionFilePackage.java b/pulsar-functions/utils/src/main/java/org/apache/pulsar/functions/utils/FunctionFilePackage.java
index 8224de32521fb..f5dfa499ac535 100644
--- a/pulsar-functions/utils/src/main/java/org/apache/pulsar/functions/... | 1 | 1 | 0 | [{"id": "G0", "claim": "There is no need to wrap the exception in yet another nested IOException; the message should be passed directly to UncheckedIOException.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__pulsar__24654 | apache/pulsar | 24,654 | defect | 34f86576758715f881d755747a74929c189df5ce | 1b9b11a8d50a08e6e4c5d0969c602621ab0f3eb7 | [fix][io] Improve Kafka Connect source offset flushing logic | <!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://pulsar.apache.org/contribute/develop-semantic-title/)*.
- Fill out the template below to describe the changes contributed by the pull request. That w... | diff --git a/pulsar-io/kafka-connect-adaptor/src/main/java/org/apache/pulsar/io/kafka/connect/AbstractKafkaConnectSource.java b/pulsar-io/kafka-connect-adaptor/src/main/java/org/apache/pulsar/io/kafka/connect/AbstractKafkaConnectSource.java
index 270decd8ab533..d10d3b0284eae 100644
--- a/pulsar-io/kafka-connect-adaptor... | 6 | 5 | 1 | [{"id": "G0", "claim": "The `private CompletableFuture<Void> flushFuture;` field should be made volatile because unsynchronized access is a thread-safety problem that existed before this PR.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Calling t... | null |
apache__pulsar__24725 | apache/pulsar | 24,725 | defect | 415c6fa74e908bad2da1e7f986185c6ef17cb9a1 | bfee61c592473ff2eb573e5c92f465fc04263829 | [fix][client] Avoid recycling the same ConcurrentBitSetRecyclable among different threads | Fixes #24724
### Modifications
Change `pendingIndividualBatchIndexAcks` to a `ConcurrentSkipListMap` and call `pollFirst()` in the loop to ensure concurrent `flush` call won't copy the reference to the `ConcurrentBitSetRecyclable` twice to `newMultiMessageAckCommon` in different threads, which recycles the object... | diff --git a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PersistentAcknowledgmentsGroupingTracker.java b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PersistentAcknowledgmentsGroupingTracker.java
index 5f7957d7f1d3b..25068cec4f7d2 100644
--- a/pulsar-client/src/main/java/org/apache/pulsar/cli... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `!pendingIndividualBatchIndexAcks.isEmpty()` check in the while condition races with another thread removing the last entry between the isEmpty() check and the pollFirstEntry() call, causing unnecessary loop iterations; use `while (true)` and rely solely on the null check from pollFirstEntry... | null |
apache__pulsar__24731 | apache/pulsar | 24,731 | defect | 415c6fa74e908bad2da1e7f986185c6ef17cb9a1 | 17b61cf083a5033beafb9f98730e36f044a07671 | [fix][broker] Fix cannot shutdown broker gracefully by admin api | <!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://pulsar.apache.org/contribute/develop-semantic-title/)*.
- Fill out the template below to describe the changes contributed by the pull request. That w... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
index fde755403ff7f..51fbdb15144dd 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
+++ b/pulsar-broker/src/main/java/org/apa... | 3 | 3 | 1 | [{"id": "G0", "claim": "The boolean parameter of PulsarService.closeAsync should be renamed from `waitForStop` to `waitForWebServiceToStop` to make it explicit.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The boolean parameter of WebService.c... | null |
apache__pulsar__24738 | apache/pulsar | 24,738 | defect | 80beab677b699e20ea59d49950442c5543a6540d | e8008ce9ed09e743cd6223e68d72e24e27614ac1 | [fix][broker] First entry will be skipped if opening NonDurableCursor while trimmed ledger is adding first entry. | <!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://pulsar.apache.org/contribute/develop-semantic-title/)*.
- Fill out the template below to describe the changes contributed by the pull request. That w... | diff --git a/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/NonDurableCursorImpl.java b/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/NonDurableCursorImpl.java
index d1fc54a9d6d13..69c30fdaca96e 100644
--- a/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/NonDurableCur... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a 20000ms timeout to the new NonDurableCursorTest in case the test happens to be flaky.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__pulsar__24859 | apache/pulsar | 24,859 | defect | a091ea74de8b60f00fdb380584c7d49279610ca1 | 90b31af32873984daae45b3440d5bcc6aabff12b | [fix][broker] Run ResourceGroup tasks only when tenants/namespaces registered | ### Motivation
Fixes #24693.
ResourceGroupService unconditionally schedules two periodic tasks (aggregating local usage and calculating quotas) during broker initialization, executing them every resourceUsageTransportPublishIntervalInSecs (default 60 seconds) regardless of whether any tenants or namespaces are re... | diff --git a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
index 30fef55ece3bd..e63c7d2b286d3 100644
--- a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java... | 3 | 2 | 0 | [{"id": "G0", "claim": "The duplicated early-return guard logic in aggregateResourceGroupLocalUsages() and calculateQuotaForAllResourceGroups() should be extracted into a helper method (e.g. hasActiveResourceGroups()) to avoid duplication.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scop... | null |
apache__pulsar__24944 | apache/pulsar | 24,944 | defect | 313ae974ef01b7ed295a03c93906ccf9daf82fd5 | bd6c84aa4f344c8d94d23e1c7af142d21a5efe49 | [feat][client] oauth2 trustcerts file and timeouts | <!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://pulsar.apache.org/contribute/develop-semantic-title/)*.
- Fill out the template below to describe the changes contributed by the pull request. That w... | diff --git a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/auth/oauth2/AuthenticationFactoryOAuth2.java b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/auth/oauth2/AuthenticationFactoryOAuth2.java
index c9abb3a3c0147..6f8f39cd2cb2a 100644
--- a/pulsar-client/src/main/java/org/apache/pulsar/clien... | 5 | 4 | 3 | [{"id": "G0", "claim": "The new 7-parameter clientCredentials factory method is problematic; passing a parameter object built using a builder would be a better public API.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR should consider how the Auth... | null |
apache__pulsar__24980 | apache/pulsar | 24,980 | defect | 6fdb4b95b75ac0bd5a4ec40d9e2a706c7539bf6e | 09e9b0bf97373c581b22e6fb425daa863c0a3f3c | [fix][broker] fix prepareInitPoliciesCacheAsync in SystemTopicBasedTopicPoliciesService | Fixes #24977
### Motivation
As shown in the issue, fix two problem: 1. cleanCacheAndCloseReader() executed twice cause concurrent error, which result in too many orphan reader remain in SystemTopicBasedTopicPoliciesService 2. double update in policyCacheInitMap cause recursive update error
### Modifications
... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/SystemTopicBasedTopicPoliciesService.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/SystemTopicBasedTopicPoliciesService.java
index 8287583a3d7cb..c3d88b9c7237d 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broke... | 4 | 3 | 0 | [{"id": "G0", "claim": "The comments at lines 566 and 647 say the test counts calls of cleanCacheAndCloseReader(), but the code actually verifies cleanPoliciesCacheInitMap, so the comments should refer to cleanPoliciesCacheInitMap.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
apache__pulsar__25272 | apache/pulsar | 25,272 | defect | 9740408b364b372b95939fa63980dff593492b2b | 4e8f5dd04f681b1597c8c207fff5872f8d77bb06 | [fix][broker] Fix backlog clearing for unloaded namespace bundles |
Fixes https://github.com/apache/pulsar/issues/20706
### Motivation
Clearing backlog for a namespace/bundle should work even when the bundle is not loaded on any broker.
### Modifications
1. Convert namespace backlog clear paths to async internal methods and update v1/v2 admin resources to use async-respon... | diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
index bfbd65234813eb..57d74427236a19 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
+++... | 2 | 2 | 0 | [{"id": "G0", "claim": "clearBacklogAsync calls getListOfPersistentTopics(nsName) to fetch all persistent topics in the entire namespace and then filters to the target bundle, which is potentially inefficient for large namespaces when the bundle is already owned; an optimization would be to start with the already-owned... | null |
apache__pulsar__25477 | apache/pulsar | 25,477 | defect | 865e276510bb5ab0a55d0d89aa3a927203e70b10 | 67f6a78083bc5e682a71dcbe01e6bcdb0551243f | [improve][client] PIP-234: Support sharing the memory limit controller across multiple isolated Pulsar client instances | Fixes https://github.com/apache/pulsar/issues/25212
### Motivation
https://github.com/apache/pulsar/issues/19074 enables sharing of Pulsar client resources across multiple isolated Pulsar client instances, but this solution lacks limiting the total amount of memory across all of the Pulsar client instances. This ... | diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/client/impl/ConsumerMemoryLimitTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/client/impl/ConsumerMemoryLimitTest.java
index f3bf80a646cad..df4874317c410 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/client/impl/ConsumerMemoryLimitTest.j... | 6 | 2 | 2 | [{"id": "G0", "claim": "Add a try...catch around the memoryBufferStats.close() call in PulsarClientImpl.shutdown() so a close failure does not abort the rest of the shutdown.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "configureOpenTelemetry shou... | null |
apache__ratis__1218 | apache/ratis | 1,218 | defect | 2664ac8e50bf52202b581555134cbdf33c057603 | 858aa1c12feb9d9b5b31812ffecc5b1342fc8064 | RATIS-2245. Ratis should wait for all apply transaction futures before taking snapshot and group remove | ## What changes were proposed in this pull request?
On Ratis Snapshot and group removal the statemachine just waits for apply transactions that have been applied on a single iteration. If there are no more transactions added onto the state machine and all of the apply transaction future are still in progress. The stat... | diff --git a/ratis-server/src/main/java/org/apache/ratis/server/impl/StateMachineUpdater.java b/ratis-server/src/main/java/org/apache/ratis/server/impl/StateMachineUpdater.java
index 64fabfa2b0..7d7d7054a1 100644
--- a/ratis-server/src/main/java/org/apache/ratis/server/impl/StateMachineUpdater.java
+++ b/ratis-server/s... | 2 | 2 | 2 | [{"id": "G0", "claim": "The thenCombine callback in applyLog should return the result of the completed apply-transaction future (or null, per the agreed follow-up), not 'previous', so the combined future reflects the latest transaction.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in... | null |
apache__ratis__1292 | apache/ratis | 1,292 | defect | d411b028882f2e397cee27cc5bf51e2f0dc4dd35 | d4fb46d64f9fbf1a8f5dc5ed41a9cf4ed9e81d2f | RATIS-2338. Print version info when starting a server. | See RATIS-2338
Also remove some unused dependencies. | diff --git a/pom.xml b/pom.xml
index b32c7ac1db..9ea7379770 100644
--- a/pom.xml
+++ b/pom.xml
@@ -789,6 +789,10 @@
<configuration>
<source>
<directory>${project.basedir}</directory>
+ <includes>
+ <include>*/src/main/java/**/*.java</include>
... | 3 | 1 | 1 | [{"id": "G0", "claim": "The lambda at line 175 still references id, which could be null if the preceding check fails, so the error message should use String.valueOf(id).", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The InputStream from getResource... | null |
apache__ratis__1320 | apache/ratis | 1,320 | defect | e74f54821b77111c71b64c45ff71686423892020 | 28e2d854048ca714247f4f5a238aa9d82ce30395 | RATIS-244. Skip snapshot file if corresponding MD5 file is missing | ## What changes were proposed in this pull request?
Snapshot is not an atomic operation and in some cases there might be corrupted snapshots.
Every snapshot has an associated MD5 file with it, if this file is missing we can skip the snapshot.
This PR adds the check for the existence of MD5 file and skips any snaps... | diff --git a/ratis-server/src/main/java/org/apache/ratis/statemachine/impl/SimpleStateMachineStorage.java b/ratis-server/src/main/java/org/apache/ratis/statemachine/impl/SimpleStateMachineStorage.java
index 0ca6734a07..496cbc8a8b 100644
--- a/ratis-server/src/main/java/org/apache/ratis/statemachine/impl/SimpleStateMach... | 2 | 2 | 2 | [{"id": "G0", "claim": "The MD5-existence check added inside getSingleFileSnapshotInfos also filters the snapshots seen by cleanupOldSnapshots(..), so the method needs a requireMd5 parameter (and related changes) instead of unconditionally skipping files without MD5.", "category": "design", "verdict": "supported", "pri... | null |
apache__ratis__1327 | apache/ratis | 1,327 | defect | 0443685b0c4e5d29a298fcf1d1e83bbfee3fc95d | 9c147e55a7b3ab41d80bbf359d940ebbf73afb7a | RATIS-2371. Fix LeaderElection/SegmentedRaftLogReader/FileChunkReader CT_CONSTRUCTOR_THROW spotbugs | [as title said](https://issues.apache.org/jira/browse/RATIS-2371) | diff --git a/ratis-server/dev-support/findbugsExcludeFile.xml b/ratis-server/dev-support/findbugsExcludeFile.xml
index 9180856202..eb131e2e33 100644
--- a/ratis-server/dev-support/findbugsExcludeFile.xml
+++ b/ratis-server/dev-support/findbugsExcludeFile.xml
@@ -15,10 +15,6 @@
limitations under the License.
-->
<... | 2 | 2 | 1 | [{"id": "G0", "claim": "The findbugs suppression for FileChunkReader should also be removed, since the class no longer throws from its constructor.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Move the `name = ...` generation to the factory method... | null |
apache__ratis__1331 | apache/ratis | 1,331 | defect | 6e1e15f0f54aba0795a1d704a967e70275033e87 | 78cfec73b787454d468f17e73b41c61b79fdbd34 | RATIS-2378. fix listener role transition | ## What changes were proposed in this pull request?
fix https://issues.apache.org/jira/browse/RATIS-2378
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-2378
## How was this patch tested?
unit tests
| diff --git a/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java b/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java
index 689bb8cefd..0427490757 100644
--- a/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java
+++ b/ratis-server/src/main/java/or... | 4 | 4 | 2 | [{"id": "G0", "claim": "The listener check should call state.getRaftConf() only once, since a second call may return a different value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The listener-transition logic should be moved to changeToFollower(... | null |
apache__ratis__1332 | apache/ratis | 1,332 | defect | b73cf97c6f6349abb2e37a801f214629cb5245b3 | f64c85562f85bf4223e95adafe8cf6c20507da2a | RATIS-2379. Support returning applied index for ReadIndex | ## What changes were proposed in this pull request?
Please refer to https://issues.apache.org/jira/browse/RATIS-2379
## How was this patch tested?
Unit test. | diff --git a/ratis-docs/src/site/markdown/configurations.md b/ratis-docs/src/site/markdown/configurations.md
index 4caf11b30e..dfe1076999 100644
--- a/ratis-docs/src/site/markdown/configurations.md
+++ b/ratis-docs/src/site/markdown/configurations.md
@@ -209,6 +209,14 @@ if it fails to receive any RPC responses from th... | 3 | 3 | 2 | [{"id": "G0", "claim": "Remove \"use\" from the new ReadIndex configuration key, field, and method names so the names match the property string value and TestConfUtils in CI does not fail.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new ReadI... | null |
apache__ratis__1341 | apache/ratis | 1,341 | defect | b02fed5fc671df91ddddb2f543526976b35fa047 | 6fa525cb95661ba4b69ceece48d0c2d9388db6d0 | RATIS-2393 Add Span Context to RaftRpcRequestProto | ## What changes were proposed in this pull request?
We're adding a new map to RaftRpcRequestProto that will be used for upcoming Opentelemetry integration.
see the usage of PoC https://github.com/taklwu/ratis/blob/opentelemetry0129/ratis-common/src/main/java/org/apache/ratis/trace/TraceUtils.java#L235-L251
Anot... | diff --git a/ratis-proto/src/main/proto/Raft.proto b/ratis-proto/src/main/proto/Raft.proto
index 6dbfdb15a5..4c997d33fe 100644
--- a/ratis-proto/src/main/proto/Raft.proto
+++ b/ratis-proto/src/main/proto/Raft.proto
@@ -121,6 +121,7 @@ message RaftRpcRequestProto {
uint64 timeoutMs = 13;
RoutingTableProto routingT... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new spanContext field should not use protobuf field number 16; per the proto3 guidelines frequently-set fields should use numbers 1 through 15, so let's use 11.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The change is very... | null |
apache__ratis__1342 | apache/ratis | 1,342 | defect | b02fed5fc671df91ddddb2f543526976b35fa047 | 6418a62d53f936c1e227a5583df341d69e63bd84 | RATIS-2400. Support timeout and interrupt handling in GrpcClientRpc. | ## What changes were proposed in this pull request?
This PR adds timeout and thread interruption handling support for synchronous gRPC client requests in GrpcClientRpc.
## What is the link to the Apache JIRA
RATIS-2400. Support timeout and interrupt handling in GrpcClientRpc
## How was this patch tested?
... | diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientRpc.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientRpc.java
index 4010ade27b..a00fb41e08 100644
--- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientRpc.java
+++ b/ratis-grpc/src/main/java/org/apache/ra... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use asException() instead of asRuntimeException() when passing the status to requestObserver.onError.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the try-catch from sendRequest(request) into sendRequest(request, proxy) so ... | null |
apache__ratis__1344 | apache/ratis | 1,344 | defect | b02fed5fc671df91ddddb2f543526976b35fa047 | f6135b999b6a0bd4eaba549238a94e06197354e0 | RATIS-2402. Fix CallId overflow when parsing gRPC metadata. | ## What changes were proposed in this pull request?
The `GrpcUtil.getCallId()` method uses `Integer.parseInt()` to parse CallId from gRPC metadata, which causes overflow when CallId exceeds Integer.MAX_VALUE (2,147,483,647). This can result in incorrect CallId values or NumberFormatException in high-throughput scena... | diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcUtil.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcUtil.java
index 8dcfb65443..ed0ab9daf0 100644
--- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcUtil.java
+++ b/ratis-grpc/src/main/java/org/apache/ratis/grpc/GrpcUtil.java
@@ -146,7 +14... | 1 | 1 | 1 | [{"id": "G0", "claim": "getCallId must use Long.parseUnsignedLong instead of Long.parseLong, since the gRPC call-id is a uint64 that parseLong mishandles for values above Long.MAX_VALUE.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__ratis__1345 | apache/ratis | 1,345 | defect | 9cc4bcd1965745097f7158b92524eea109d76703 | 2e4eb27148497cd479bcd1de0b1d2c7f7f313a92 | RATIS-2404. Validate message size before sending async requests. | ## What changes were proposed in this pull request?
Add client-side message size validation for async requests to fail fast before sending oversized messages over the network.
Currently, async requests are only validated on the server side, causing unnecessary network overhead. This change adds early validation ... | diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientProtocolClient.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientProtocolClient.java
index 159919fabc..65ec612631 100644
--- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/client/GrpcClientProtocolClient.java
+++ b/ratis... | 7 | 7 | 0 | [{"id": "G0", "claim": "The maxMessageSize field should be typed SizeInBytes instead of int so that its String form reads well when printed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since maxMessageSize is now a field, the redundant maxMessageSizeC... | null |
apache__ratis__1346 | apache/ratis | 1,346 | defect | 563db23d587e671c40f3e93f4267d483c63dd3ce | d9c2df7e183975692391b7698b9dda3109996439 | RATIS-2405. Remove duplicate computeIfAbsent call in MessageMetrics.inc() method. | ## What changes were proposed in this pull request?
### Problem
The `MessageMetrics.inc()` method contains duplicate code that calls computeIfAbsent twice for the same key, along with an unnecessary `synchronized` block.
This leads to:
- Redundant map lookups
- Code duplication and poor readability
- Potenti... | diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/metrics/MessageMetrics.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/metrics/MessageMetrics.java
index 2a211aae80..1aa83d7873 100644
--- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/metrics/MessageMetrics.java
+++ b/ratis-grpc/src/main/java/org/apa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The first three lines of inc() should be kept unchanged in their original chained form (types.get(t).computeIfAbsent(...).inc()) instead of assigning the counter to a local variable.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
apache__ratis__1349 | apache/ratis | 1,349 | defect | 53eba3bcd80c04bc72c0c68b0e507e41faacaf70 | 7dd9c9373574c86a8721b39933029a781b7df421 | RATIS-2408. Add configurable exponential backoff reconnection for Netty DataStream client. | ## What changes were proposed in this pull request?
Implement configurable exponential backoff with jitter for Netty DataStream client reconnections to improve reliability and reduce resource usage during connection failures.
### Problem
Currently, the Netty DataStream client uses a fixed 100ms delay for recon... | diff --git a/ratis-netty/src/main/java/org/apache/ratis/netty/NettyConfigKeys.java b/ratis-netty/src/main/java/org/apache/ratis/netty/NettyConfigKeys.java
index be3ad8ee67..6fa86d7de1 100644
--- a/ratis-netty/src/main/java/org/apache/ratis/netty/NettyConfigKeys.java
+++ b/ratis-netty/src/main/java/org/apache/ratis/nett... | 7 | 7 | 3 | [{"id": "G0", "claim": "Use a single comma-separated `reconnect.policy` conf for the Netty DataStream client instead of the separate reconnect delay/max-delay/max-attempts confs, so other RetryPolicies can be supported later.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
apache__ratis__1354 | apache/ratis | 1,354 | defect | c650db30a3c93b158c06fbf57ff179387b477f39 | 8ecf79e5a0e9b1feadf574a7db7900e371ac771e | RATIS-2413. Support different RetryPolicy implementations. | ## What changes were proposed in this pull request?
This PR implements support for different RetryPolicy implementations with a flexible comma-separated format:
#### New Format:
```
<classname>,<retry-policy-parameters>
```
#### Key Changes:
- Enhanced RetryPolicy.parse() method to support explicit cla... | diff --git a/ratis-common/src/main/java/org/apache/ratis/retry/RetryPolicy.java b/ratis-common/src/main/java/org/apache/ratis/retry/RetryPolicy.java
index 6916858e57..e04696a179 100644
--- a/ratis-common/src/main/java/org/apache/ratis/retry/RetryPolicy.java
+++ b/ratis-common/src/main/java/org/apache/ratis/retry/RetryP... | 8 | 8 | 0 | [{"id": "G0", "claim": "The replace(\"_\", \"\") normalization in isLegacyMultipleLinearRandomRetryParams is not needed since TimeDuration.valueOf(..) already handles it and should be removed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add one m... | null |
apache__ratis__1355 | apache/ratis | 1,355 | defect | c650db30a3c93b158c06fbf57ff179387b477f39 | bbba82feca4404dcd79f9ed94bd53cd88d9dc4f7 | RATIS-2414. Add leak detection for ZeroCopyMessageMarshaller. | ### What changes were proposed in this pull request?
This PR adds leak detection and cleanup mechanisms to `ZeroCopyMessageMarshaller` to prevent resource leaks in tests and provide safety guardrails for potential future production use:
**ZeroCopyMessageMarshaller:**
- Add `getUnclosedCount():` Returns the numbe... | diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/util/ZeroCopyMessageMarshaller.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/util/ZeroCopyMessageMarshaller.java
index bb8183a247..8db8eeca5d 100644
--- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/util/ZeroCopyMessageMarshaller.java
+++ b/ratis-gr... | 2 | 2 | 0 | [{"id": "G0", "claim": "Rename checkLeaks to assertNoUnclosedStreams, drop the unneeded context parameter (the stack trace carries the context), and make the method package private.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove getUnclos... | null |
apache__ratis__1356 | apache/ratis | 1,356 | defect | 493ce43708b4326b51629e3c930425e73e971371 | 7a57efc0c19c2579532fed5d5f30757ba6dda448 | RATIS-2415. Fix queue corruption in NettyRpcProxy when request sending fails. | ## What changes were proposed in this pull request?
This PR fixes a bug in `NettyRpcProxy.Connection.offer()` where `CompletableFuture` objects were added to the replies queue before sending requests via `writeAndFlush()`.
When `writeAndFlush()` failed (either synchronously or asynchronously), the futures were n... | diff --git a/ratis-netty/src/main/java/org/apache/ratis/netty/NettyRpcProxy.java b/ratis-netty/src/main/java/org/apache/ratis/netty/NettyRpcProxy.java
index 675e0e1fe5..d12f54f09e 100644
--- a/ratis-netty/src/main/java/org/apache/ratis/netty/NettyRpcProxy.java
+++ b/ratis-netty/src/main/java/org/apache/ratis/netty/Nett... | 2 | 2 | 1 | [{"id": "G0", "claim": "In Connection.offer, call client.writeAndFlush(..) first and only then add the reply to the replies queue.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Change the replies queue to a map (callId -> future) so that the reply ... | null |
apache__ratis__1357 | apache/ratis | 1,357 | defect | 1e53bda5aaf26672051de98688bcbf362e443e32 | 91f26f6c81ca5cadc011eef3322f74834ec46ab8 | RATIS-2416. Fix memory leak in NettyClientReplies for stale replies. | ## What changes were proposed in this pull request?
This PR fixes a memory leak in `NettyClientReplies` caused by creating empty `ReplyMap` entries for unknown/stale replies.
**Problem:**
When `NettyClientStreamRpc.channelRead()` receives a reply without a corresponding request (e.g., after timeout or cleanup), ... | diff --git a/ratis-netty/src/main/java/org/apache/ratis/netty/client/NettyClientReplies.java b/ratis-netty/src/main/java/org/apache/ratis/netty/client/NettyClientReplies.java
index 4c49b1d160..b74f5d3634 100644
--- a/ratis-netty/src/main/java/org/apache/ratis/netty/client/NettyClientReplies.java
+++ b/ratis-netty/src/m... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the original getReplyMap to getOrCreateReplyMap and use getReplyMap for the new non-creating lookup method, to avoid confusion.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__ratis__1362 | apache/ratis | 1,362 | defect | f9757f6298397c4e13783e97f6bf5718839e0898 | 7f58060eae4314ae9a47a4153e803ca7cb83584c | RATIS-2403. Support leader batch write to improve linearizable follower read throughput | ## What changes were proposed in this pull request?
This patch is to implement leader batch write as suggested by @szetszwo to by making leader delay some requests to ensure that ReadIndex increase in coarser, more discrete steps (the original ReadIndex returns the latest commitIndex which can increase rapidly for a... | diff --git a/ratis-docs/src/site/markdown/configurations.md b/ratis-docs/src/site/markdown/configurations.md
index 67e988348c..3d59c6b9f4 100644
--- a/ratis-docs/src/site/markdown/configurations.md
+++ b/ratis-docs/src/site/markdown/configurations.md
@@ -220,11 +220,38 @@ if it fails to receive any RPC responses from t... | 6 | 6 | 3 | [{"id": "G0", "claim": "runTestFollowerReadOnlyParallel does not wait for the delayed WAIT_AND_INCREMENT write, so its exact-count assertions are not guaranteed to hold, the purpose of Thread.sleep(100) is unclear, and REPLIED_INDEX needs its own test logic.", "category": "testing", "verdict": "supported", "priority": ... | null |
apache__ratis__1382 | apache/ratis | 1,382 | defect | f333acf46ada50d77df1c9f9cee25fa0db91b01f | 5b53c35ef68e9484d2d66ef7f26912b0e5ae8303 | RATIS-2433. Cancel transaction in case of failure to append | ## What changes were proposed in this pull request?
Currently in RaftServerImpl#writeAsyncImpl() the client request is added to the pending requests asynchronously.
In between if there is any failure/exception in appendTransactions() then we are not cancelling the transaction. The failure is returned to the clien... | diff --git a/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java b/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java
index d9dd09d966..f146a60767 100644
--- a/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java
+++ b/ratis-server/src/main/java/or... | 5 | 5 | 0 | [{"id": "G0", "claim": "The new failure/cancelException variable plumbing in appendTransaction should keep returning immediately on failure, since it makes the code harder to read.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Keep the getResou... | null |
apache__ratis__1385 | apache/ratis | 1,385 | defect | 432eb32b51f9e7e9916964065b794b57a2ea8b5f | b8a77de59777bf00c2e45ebfff98c02b453ce68a | RATIS-2395. Add Client Span for AyncImpl | ## What changes were proposed in this pull request?
After RATIS-2393 / #1341, this change aims to provide the first end-to-end tracing triggered from the any async implementation when sending a rpc request.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-2395
## How was t... | diff --git a/ratis-client/src/main/java/org/apache/ratis/client/impl/AsyncImpl.java b/ratis-client/src/main/java/org/apache/ratis/client/impl/AsyncImpl.java
index 8547ce2665..e6a0ca319b 100644
--- a/ratis-client/src/main/java/org/apache/ratis/client/impl/AsyncImpl.java
+++ b/ratis-client/src/main/java/org/apache/ratis/... | 7 | 7 | 3 | [{"id": "G0", "claim": "TraceUtils must not instantiate its own `new RaftProperties()` (which yields all default values), since Ratis is a library that does not manage conf files; the RaftProperties should be passed in from the application when building RaftClient/RaftServer.", "category": "correctness", "verdict": "su... | null |
apache__ratis__1420 | apache/ratis | 1,420 | defect | 27a2ceaffa538819a502e57d54935b088f5feaeb | 5ff6be10cb9b79618ee12bfa80c2d1086fabba6c | RATIS-2487. Trigger installSnapshot if leader cannot get previous entry | ## What changes were proposed in this pull request?
See https://issues.apache.org/jira/browse/RATIS-2487
The current approach is to make `newAppendEntriesRequest` returns null which will skip the current iteration and change the `shouldInstallSnapshot` (if installSnapshot is enabled) and `shouldNotifyToInstallSna... | diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java
index b4d78c207a..26ac125d3a 100644
--- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java
+++ b/ratis-grpc/src/main/java/org/apa... | 2 | 1 | 0 | [{"id": "G0", "claim": "getNextIndex is called twice in newAppendEntriesRequest, so it might need to be called only once per method.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The shouldInstallSnapshot logic is distributed across LogAppend... | null |
apache__ratis__1425 | apache/ratis | 1,425 | defect | 32e7925ee9aec86922d173f3922337618d918362 | 1910f8dc2d291d261f8291afcc169f3e8d197cfd | RATIS-2499. Allow the LogAppender restart when LogAppenderDaemon exception | ## What changes were proposed in this pull request?
[RATIS-2427](https://issues.apache.org/jira/browse/RATIS-2427) let the LogAppender do not restart when the LogAppenderDaemon in CLOSING or CLOSED or EXCEPTION LifeCycle.States . However, if only LogAppenderDaemon is EXCEPTION LifeCycle.States, we should still resta... | diff --git a/ratis-server/src/main/java/org/apache/ratis/server/leader/LogAppenderBase.java b/ratis-server/src/main/java/org/apache/ratis/server/leader/LogAppenderBase.java
index 4f558e0c7c..f53183ae80 100644
--- a/ratis-server/src/main/java/org/apache/ratis/server/leader/LogAppenderBase.java
+++ b/ratis-server/src/mai... | 2 | 2 | 0 | [{"id": "G0", "claim": "Rename isLeaderReady() to isLeaderAlive() to avoid confusion with the notion that a new leader has committed the first entry.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use 4 spaces for the indentation of the continua... | null |
apache__ratis__1439 | apache/ratis | 1,439 | defect | 01b6e4f56e5a7121763f802165e977e9d52a7a2e | 0ceb9b03cf27b4397d66d3f896579125ec8fb8fa | RATIS-2507. Fix java.lang.IllegalStateException: gap between entries | ## What changes were proposed in this pull request?
Fail RatisServer when RaftLog end log index is smaller than last snapshot index during startup
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-2507
## How was this patch tested?
existing unit test | diff --git a/ratis-server/src/main/java/org/apache/ratis/server/raftlog/segmented/SegmentedRaftLog.java b/ratis-server/src/main/java/org/apache/ratis/server/raftlog/segmented/SegmentedRaftLog.java
index 6bcc3f8e1c..6f7de64d0e 100644
--- a/ratis-server/src/main/java/org/apache/ratis/server/raftlog/segmented/SegmentedRaf... | 3 | 3 | 1 | [{"id": "G0", "claim": "The state machine state and raft log state don't have to be consistent (a slow follower can restart with snapshot index 1000 but log index 500), so the new fail-fast that throws when the end log index is smaller than lastIndexInSnapshot and fails RaftServerImpl.start() is unfounded.", "category"... | null |
apache__ratis__1443 | apache/ratis | 1,443 | defect | 01b6e4f56e5a7121763f802165e977e9d52a7a2e | 08bbac51dc8e31607ce4e544f49f4583ab039eb1 | RATIS-2397. Add trace support for Log Appender | ## What changes were proposed in this pull request?
Adding tracing support for AppendEntries / AppendEntriesAsync
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-2397
## How was this patch tested?
1. added unit tests
2. build with #1428 and test locally with Jaegar UI ... | diff --git a/ratis-common/src/main/java/org/apache/ratis/trace/RatisAttributes.java b/ratis-common/src/main/java/org/apache/ratis/trace/RatisAttributes.java
index 3c3be83e79..ea0c3a3428 100644
--- a/ratis-common/src/main/java/org/apache/ratis/trace/RatisAttributes.java
+++ b/ratis-common/src/main/java/org/apache/ratis/... | 5 | 4 | 0 | [{"id": "G0", "claim": "The span name string literal \"raft.server.appendEntriesAsync\" should be extracted into a static constant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The replicationTraceByLogIndex.clear() call added to stepDown is u... | null |
apache__ratis__1444 | apache/ratis | 1,444 | defect | 01b6e4f56e5a7121763f802165e977e9d52a7a2e | 2c1e3330c9c3f67095c1cbff7f56b172332775b4 | RATIS-2511. Follower should throw ReadException if it is installing snapshot | ## What changes were proposed in this pull request?
When Ratis follower is installing snapshot, its appliedIndex will not advance until the snapshot is installed. This can cause all linearizable follower read on this node to timeout due to the client timeout (default is 3s).
Instead of waiting until the client ti... | diff --git a/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java b/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java
index c0e93338a6..cfb1a6d6f8 100644
--- a/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java
+++ b/ratis-server/src/main/java/or... | 4 | 4 | 1 | [{"id": "G0", "claim": "The fail() method should not copy sorted into a new ArrayList; make the sorted map non-final and have the queue return the collected futures so they can be failed from ReadRequests.fail(..).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
apache__ratis__666 | apache/ratis | 666 | defect | 8d5c50e0082f8c21b79c44791b4186ed6d9c602c | ffc65df706817ed5a4e7fd2d8b1dae923afa0756 | RATIS-1603. TimeoutScheduler can have a huge amount of threads and cause OOM. | See https://issues.apache.org/jira/browse/RATIS-1603 | diff --git a/ratis-client/src/main/java/org/apache/ratis/client/impl/OrderedStreamAsync.java b/ratis-client/src/main/java/org/apache/ratis/client/impl/OrderedStreamAsync.java
index 9e603455ec..0b0dbe4d3e 100644
--- a/ratis-client/src/main/java/org/apache/ratis/client/impl/OrderedStreamAsync.java
+++ b/ratis-client/src/... | 2 | 1 | 0 | [{"id": "G0", "claim": "getQueueSize should be renamed to getTaskCount or another more explicit method name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "TimeoutScheduler should be removed, since it can cause thread overflow and should not be ... | null |
apache__ratis__667 | apache/ratis | 667 | defect | 6f2c532a8d4a1612a3331f9ec1559b63954ce13f | 65b1d1e36e5137dbb6aee05d0001838b3cc6f777 | RATIS-1609. RaftStorageImpl should not lock the directory in the constructor. | See https://issues.apache.org/jira/browse/RATIS-1609 | diff --git a/ratis-common/src/main/java/org/apache/ratis/util/ConcurrentUtils.java b/ratis-common/src/main/java/org/apache/ratis/util/ConcurrentUtils.java
index d0c87288cb..df214b3887 100644
--- a/ratis-common/src/main/java/org/apache/ratis/util/ConcurrentUtils.java
+++ b/ratis-common/src/main/java/org/apache/ratis/uti... | 2 | 1 | 1 | [{"id": "G0", "claim": "Introduce a try-catch in RaftStorageImpl.initialize() so that storageDir is unlocked if an exception is thrown during initialization.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Moving state machine initialization out of t... | null |
apache__ratis__698 | apache/ratis | 698 | defect | 95243a7ac501567d5c76dfaadf59b69a4a28fa03 | 36e4e5211b16852825b8ab2e65614acd807ea8b3 | RATIS-1641. Cleanup the Counter example and revise the "Getting Started" doc. | See https://issues.apache.org/jira/browse/RATIS-1641 | diff --git a/ratis-docs/src/site/markdown/start/index.md b/ratis-docs/src/site/markdown/start/index.md
index 7aca21f9bc..beaa519ea7 100644
--- a/ratis-docs/src/site/markdown/start/index.md
+++ b/ratis-docs/src/site/markdown/start/index.md
@@ -18,23 +18,51 @@
# Getting Started
Let's get started to use Raft in your app... | 4 | 1 | 1 | [{"id": "G0", "claim": "ArithmeticStateMachine.java could be simplified to use synchronized instead of ReentrantReadWriteLock, since compared with the performance benefit the code is less readable than the counter example.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing... | null |
apache__ratis__754 | apache/ratis | 754 | defect | 3bc72c6f383b723f545c52c25e3ea2ea5be0aac1 | eac811dbf36cf3243bc060da4a523f1d7e9757ac | RATIS-1715. Support linearizable read in AsyncApi. | See https://issues.apache.org/jira/browse/RATIS-1715 | diff --git a/ratis-client/src/main/java/org/apache/ratis/client/api/AsyncApi.java b/ratis-client/src/main/java/org/apache/ratis/client/api/AsyncApi.java
index 1e8da9bdee..e4b7042dd9 100644
--- a/ratis-client/src/main/java/org/apache/ratis/client/api/AsyncApi.java
+++ b/ratis-client/src/main/java/org/apache/ratis/client... | 1 | 1 | 0 | [{"id": "G0", "claim": "The javadoc on the AsyncApi.sendReadOnly(Message) overload should say it is the same as sendReadOnly(message, null), not sendReadOnly(message, null, true).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__ratis__755 | apache/ratis | 755 | defect | 3bc72c6f383b723f545c52c25e3ea2ea5be0aac1 | 2ad403e7021914ee71c75821a35cc86330ca02cb | RATIS-1714. Support unordered async read. | See https://issues.apache.org/jira/browse/RATIS-1714 | diff --git a/ratis-client/src/main/java/org/apache/ratis/client/api/AsyncApi.java b/ratis-client/src/main/java/org/apache/ratis/client/api/AsyncApi.java
index 1e8da9bdee..0bd7cd7ad7 100644
--- a/ratis-client/src/main/java/org/apache/ratis/client/api/AsyncApi.java
+++ b/ratis-client/src/main/java/org/apache/ratis/client... | 6 | 3 | 0 | [{"id": "G0", "claim": "The async API should expose unordered read-only sends through a dedicated entry point (M001 proposed an extra overload taking the ordered flag; M002 proposed instead splitting it into two sendReadOnlyUnordered methods, since the boolean flag dispatches totally different code paths).", "category"... | null |
apache__ratis__765 | apache/ratis | 765 | defect | 77a990651d16d0857665281d777983085e180575 | ed82a5d33c1a9948c6a551453334fb2a7d091dca | RATIS-1723. CounterStateMachine should update the latest snapshot. | See https://issues.apache.org/jira/browse/RATIS-1723 | diff --git a/ratis-common/src/main/java/org/apache/ratis/util/MD5FileUtil.java b/ratis-common/src/main/java/org/apache/ratis/util/MD5FileUtil.java
index d7201caa92..2e5eb2984c 100644
--- a/ratis-common/src/main/java/org/apache/ratis/util/MD5FileUtil.java
+++ b/ratis-common/src/main/java/org/apache/ratis/util/MD5FileUti... | 3 | 3 | 1 | [{"id": "G0", "claim": "The field should be typed AtomicReference<SingleFileSnapshotInfo> so callers do not have to cast when the storage is known to be SimpleStateMachineStorage.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly saved md5 file ap... | null |
apache__rocketmq-connect__117 | apache/rocketmq-connect | 117 | defect | a79961967e26d6a9922285a71d594a1e02882039 | c1483b180364b8e2d44c94adc19b072cfd3f06e3 | [ISSUE #116] replicator adapt to the new connect api | ## What is the purpose of the change
(https://github.com/apache/rocketmq-connect/issues/116)
## Brief changelog
replicator adapt to the new connect api
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you c... | diff --git a/connectors/rocketmq-replicator/pom.xml b/connectors/rocketmq-replicator/pom.xml
index 43d35590..36df030b 100644
--- a/connectors/rocketmq-replicator/pom.xml
+++ b/connectors/rocketmq-replicator/pom.xml
@@ -74,7 +74,7 @@
<dependency>
<groupId>io.openmessaging</groupId>
<ar... | 5 | 4 | 2 | [{"id": "G0", "claim": "In the new void validate() methods, a missing required config key or a config validation error must be thrown upward (with a log) instead of silently returning, because a silent return signals that validation passed and leaves failures undiagnosable.", "category": "correctness", "verdict": "supp... | null |
apache__rocketmq-connect__267 | apache/rocketmq-connect | 267 | defect | 7f46bb97174e6defc4dc4af6cafadc343ad21464 | 58a2a9684a50144423c50037a44af18853d159fd | Adapt hudi to openmessaging-connector 0.1.4 | ## What is the purpose of the change
XXXXX
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the ... | diff --git a/connectors/rocketmq-connect-hudi/README.md b/connectors/rocketmq-connect-hudi/README.md
index 05fdfb9d..ca73a68f 100644
--- a/connectors/rocketmq-connect-hudi/README.md
+++ b/connectors/rocketmq-connect-hudi/README.md
@@ -74,4 +74,119 @@ http://${runtime-ip}:${runtime-port}/connectors/${rocketmq-hudi-conne... | 1 | 1 | 1 | [{"id": "G0", "claim": "Producer.java opens the Avro schema from a hardcoded personal absolute path (/Users/osgoo/Downloads/user.avsc) that does not exist in the repository, so the test file cannot be opened.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__rocketmq-connect__289 | apache/rocketmq-connect | 289 | defect | aad06e61bba0889ccbcbc3d7871434b7860fedd9 | 17a254d509cdaec42c0174eeb3009e87a1de1d41 | [ISSUE #288] redis source connector adapt to new api | ## What is the purpose of the change
Close #288
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before reques... | diff --git a/connectors/rocketmq-connect-redis/pom.xml b/connectors/rocketmq-connect-redis/pom.xml
index ef8ddba6..73e3db96 100644
--- a/connectors/rocketmq-connect-redis/pom.xml
+++ b/connectors/rocketmq-connect-redis/pom.xml
@@ -178,7 +178,7 @@
<dependency>
<groupId>io.openmessaging</groupId>
... | 3 | 2 | 2 | [{"id": "G0", "claim": "RedisSourceTask should obtain the position the way FileSourceTask does (via the offset storage reader) instead of reading an \"offset\" value out of the task configs.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The redis k... | null |
apache__rocketmq-connect__291 | apache/rocketmq-connect | 291 | defect | 7a12824e56817e99c4a5f0272c007c30e06d61ff | 320ee83fc243cd636d7ecb2859db0db30cb4fea0 | [ISSUE #290] activemq source connector adapt to new api | ## What is the purpose of the change
Close #290
## Brief changelog
activemq source connector adapt to new api
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the... | diff --git a/connectors/rocketmq-connect-activemq/README-CN.md b/connectors/rocketmq-connect-activemq/README-CN.md
index be036839..21cf9f74 100644
--- a/connectors/rocketmq-connect-activemq/README-CN.md
+++ b/connectors/rocketmq-connect-activemq/README-CN.md
@@ -1,16 +1,31 @@
##### ActiveConnector完全限定名
org.apache.roc... | 2 | 2 | 1 | [{"id": "G0", "claim": "buildRecordOffset returns a RecordOffset whose value is an empty map (no position is recorded).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The payload should contain only the message data, with the extra information (dest... | null |
apache__rocketmq-connect__293 | apache/rocketmq-connect | 293 | defect | 7a12824e56817e99c4a5f0272c007c30e06d61ff | 30ffbf82cd50f4ff0678bef701cb5b1f9ad81a4c | [ISSUE #292] Jms source connector adapt to new api | ## What is the purpose of the change
Close #292
## Brief changelog
I will start RabbitMQ adaptation after this pr merged because rabbitmq source connector dependent jms source connector
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. No... | diff --git a/connectors/rocketmq-connect-jms/pom.xml b/connectors/rocketmq-connect-jms/pom.xml
index 44c72570..631a0e5d 100644
--- a/connectors/rocketmq-connect-jms/pom.xml
+++ b/connectors/rocketmq-connect-jms/pom.xml
@@ -163,7 +163,7 @@
<dependency>
<groupId>io.openmessaging</groupId>
... | 2 | 2 | 2 | [{"id": "G0", "claim": "The RecordOffset the connector builds should carry site/position information (e.g. the JMS message position) so that consumption progress is recorded and transmission can be resumed from the last breakpoint.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}... | null |
apache__rocketmq-connect__313 | apache/rocketmq-connect | 313 | defect | 9e2696dee3f9966b74b002df7c3439ffb810e953 | d2b365b37eca3733f9c44e0bf6b98418eaf99539 | [ISSUE #312] mongo source connector adapt to new api 0.1.4 | ## What is the purpose of the change
Close #312
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before reques... | diff --git a/connectors/rocketmq-connect-mongo/pom.xml b/connectors/rocketmq-connect-mongo/pom.xml
index 2fc00d13c..9f9c1be5a 100644
--- a/connectors/rocketmq-connect-mongo/pom.xml
+++ b/connectors/rocketmq-connect-mongo/pom.xml
@@ -140,6 +140,24 @@
</excludes>
</configuration>
... | 3 | 3 | 2 | [{"id": "G0", "claim": "MongoDB supports replicas, so the connector should divide the work into multiple tasks according to the maximum number of tasks allocated and configured instead of always returning a single task config, to improve the connector's parallelism.", "category": "design", "verdict": "supported", "prio... | null |
apache__rocketmq-connect__318 | apache/rocketmq-connect | 318 | defect | e11f798c1ad0c426084009e3c5b3ca74b353ad86 | b4e413debf09d084f71f474eb1056dceeb62eecb | [ISSUE #317] cassandra sourceConnector and sinkConnector adapt to new api | ## What is the purpose of the change
Close #317
## Brief changelog
- cassandra sourceConnector and sinkConnector adapt to new api
- checkstyle
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could fi... | diff --git a/connectors/rocketmq-connect-cassandra/README.md b/connectors/rocketmq-connect-cassandra/README.md
index 6439269f4..870c36d8d 100644
--- a/connectors/rocketmq-connect-cassandra/README.md
+++ b/connectors/rocketmq-connect-cassandra/README.md
@@ -16,16 +16,47 @@ mvn clean install -DskipTest -U
* **cassandr... | 4 | 4 | 4 | [{"id": "G0", "claim": "The number of task configs should be created according to the number of tasks (maxTasks), so as to support multiple tasks, instead of returning a single config.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The sink path lac... | null |
apache__rocketmq-connect__347 | apache/rocketmq-connect | 347 | defect | 5ff223f55bfe86f9ba05b677965380617cbc118e | ae11e76994b172475b4a1289fe238a1af5a784ec | [ISSUE #346] Add elasticsearch source connector | ## What is the purpose of the change
Close #346
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before reques... | diff --git a/connectors/rocketmq-connect-elasticsearch/README.md b/connectors/rocketmq-connect-elasticsearch/README.md
new file mode 100644
index 000000000..d22c1dc3f
--- /dev/null
+++ b/connectors/rocketmq-connect-elasticsearch/README.md
@@ -0,0 +1,29 @@
+##### ElasticsearchSourceConnector fully-qualified name
+org.ap... | 4 | 4 | 2 | [{"id": "G0", "claim": "The README example config uses the key \"value-converter\" (hyphen) and it should be replaced with \"value.converter\" (dot).", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The rocketmq-openmessaging dependency added to the... | null |
apache__rocketmq-connect__359 | apache/rocketmq-connect | 359 | defect | bd8b3650cdd61bbe956342f914457e8fc9e4e95c | 171511fbe51bc30f88152f1bf88e192617c3f884 | add mqtt source connector | ## What is the purpose of the change
[#342 ](https://github.com/apache/rocketmq-connect/issues/342) add mqtt source connector
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you co... | diff --git a/connectors/rocketmq-connect-mqtt/pom.xml b/connectors/rocketmq-connect-mqtt/pom.xml
new file mode 100644
index 00000000..fe9eb4e3
--- /dev/null
+++ b/connectors/rocketmq-connect-mqtt/pom.xml
@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ ... | 8 | 7 | 2 | [{"id": "G0", "claim": "The connector should support multiple tasks, producing a number of tasks based on the configured mqtt topics and maxTasks, as the jdbc source connector does.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There should be a timesta... | null |
apache__rocketmq-connect__360 | apache/rocketmq-connect | 360 | defect | bd8b3650cdd61bbe956342f914457e8fc9e4e95c | 496f0819afcba7994f7b8603b6172ef6d74da24b | add mqtt sink connector | ## What is the purpose of the change
[#341 ](https://github.com/apache/rocketmq-connect/issues/341) add mqtt sink connector
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could ... | diff --git a/connectors/rocketmq-connect-mqtt/pom.xml b/connectors/rocketmq-connect-mqtt/pom.xml
new file mode 100644
index 00000000..fe9eb4e3
--- /dev/null
+++ b/connectors/rocketmq-connect-mqtt/pom.xml
@@ -0,0 +1,245 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ ... | 3 | 3 | 2 | [{"id": "G0", "claim": "Non-essential package references in connectors/rocketmq-connect-mqtt/pom.xml should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "taskConfigs should use maxTasks to produce multiple task configs to increase p... | null |
apache__rocketmq-connect__391 | apache/rocketmq-connect | 391 | defect | 568218e93e4ac1cbfd62ac4a2c7c0316e3169628 | ed322bbc50295b6b4feb3476a0c7704de224748b | [ISSUE #337]bug fix | ## What is the purpose of the change
Close #337
Close #400
Fix some bugs.
## Brief changelog
- Upgraded the dependency of Http SinkConnector io.openmessaging:openmessaging-connector to 0.1.4
- Fix the bug that Http SinkConnector cannot subscribe to topics
- Fixed Transform plugins not taking effect corre... | diff --git a/connectors/rocketmq-connect-http/pom.xml b/connectors/rocketmq-connect-http/pom.xml
index 7bbadfe0c..ba8a8b85d 100644
--- a/connectors/rocketmq-connect-http/pom.xml
+++ b/connectors/rocketmq-connect-http/pom.xml
@@ -18,7 +18,7 @@
<junit.version>4.13.1</junit.version>
<assertj.version>2.6.... | 1 | 1 | 0 | [{"id": "G0", "claim": "The msgId extension should be set inside the addExtension method rather than inline in convertMessages, modifying the method signature if necessary.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__rocketmq-connect__398 | apache/rocketmq-connect | 398 | defect | 568218e93e4ac1cbfd62ac4a2c7c0316e3169628 | 67921f02258eacba8a8830fcc707faee3d10747f | [ISSUE #392] Add iotdb source connector | ## What is the purpose of the change
Close #392
## Brief changelog
Add iotdb source connector
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is not... | diff --git a/connectors/rocketmq-connect-iotdb/README.md b/connectors/rocketmq-connect-iotdb/README.md
new file mode 100644
index 000000000..9f52b950f
--- /dev/null
+++ b/connectors/rocketmq-connect-iotdb/README.md
@@ -0,0 +1,30 @@
+##### IotdbSourceConnector fully-qualified name
+org.apache.rocketmq.connect.iotdb.conn... | 4 | 3 | 2 | [{"id": "G0", "claim": "The maxTasks parameter of taskConfigs is ignored, so the requested number of tasks does not take effect.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "IotdbRuntimeException should inherit from the framework's ConnectExceptio... | null |
apache__rocketmq-connect__522 | apache/rocketmq-connect | 522 | defect | e29c1c125306562d56a20f3f78ba6b1ec2980b4f | a494d4d559f75d0f6d9d50413bafe211a27d93c4 | [OSPP2023] Feat: Support HBase Sink connector | ## What is the purpose of the change
This is a project of ospp2023, the goal of this project is to support the HBase sink connector.
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if yo... | diff --git a/connectors/rocketmq-connect-hbase/README.md b/connectors/rocketmq-connect-hbase/README.md
new file mode 100644
index 00000000..f168ea7a
--- /dev/null
+++ b/connectors/rocketmq-connect-hbase/README.md
@@ -0,0 +1,30 @@
+
+##### HBaseSinkConnector fully-qualified name
+org.apache.rocketmq.connect.hbase.sink.H... | 1 | 1 | 0 | [{"id": "G0", "claim": "The commented-out \"for aliyun Lindorm\" alihbase-client dependency block in connectors/rocketmq-connect-hbase/pom.xml should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__rocketmq-dashboard__21 | apache/rocketmq-dashboard | 21 | defect | 975449e26844ff27d827241acf4e0d87ce7162bb | 6244f26b596fbeba83507b9832346664f7f72f96 | [ISSUE #19]Message track query enhancement | ## What is the purpose of the change
#19
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the co... | diff --git a/src/main/java/org/apache/rocketmq/dashboard/controller/MessageTraceController.java b/src/main/java/org/apache/rocketmq/dashboard/controller/MessageTraceController.java
index 951be0858..432ab9d94 100644
--- a/src/main/java/org/apache/rocketmq/dashboard/controller/MessageTraceController.java
+++ b/src/main/j... | 7 | 6 | 4 | [{"id": "G0", "claim": "The traceTopic request parameter of viewMessageTraceGraph should not be mandatory; the default system trace topic should be used when the user does not choose a topic.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "fetchAllTopicLi... | null |
apache__rocketmq-dashboard__37 | apache/rocketmq-dashboard | 37 | defect | d73d9b2793c40c7e8d88012e5ec5ee70c42f02d2 | dc308d290077dfce53af4359777df90f52bc37b4 | [ISSUE #30]Supports batch resending and batch exporting dlq messages. | ## What is the purpose of the change
#30
Send and export dead-letter messages in batches.
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(... | diff --git a/src/main/java/org/apache/rocketmq/dashboard/controller/DlqMessageController.java b/src/main/java/org/apache/rocketmq/dashboard/controller/DlqMessageController.java
index 500040d57..fd70722d5 100644
--- a/src/main/java/org/apache/rocketmq/dashboard/controller/DlqMessageController.java
+++ b/src/main/java/or... | 3 | 3 | 1 | [{"id": "G0", "claim": "The getters/setters in DlqMessageRequest can be generated by Lombok's @Data instead of being written by hand.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "batchResendDlqMessage performs a batch resend but returns only t... | null |
apache__rocketmq-dashboard__51 | apache/rocketmq-dashboard | 51 | defect | 2524ca668a4e80a05c8461fea6a565d3fd0b1cae | 56a0ac0ebc0ec423fa693e0e05dac0a2cd77184e | [ISSUE #48] Fix Normal User login after to tips:no permission | ## What is the purpose of the change
Update `role-permission.yml` default value to make RocketMQ-Dashboard easier to use.
## Brief changelog
Update `role-permission.yml` default value so that normal users can have read permission by default.
## Verifying this change
local test succeed, normal user can ac... | diff --git a/src/main/java/org/apache/rocketmq/dashboard/controller/DashboardController.java b/src/main/java/org/apache/rocketmq/dashboard/controller/DashboardController.java
index 0b46144a4b..5b0379c103 100644
--- a/src/main/java/org/apache/rocketmq/dashboard/controller/DashboardController.java
+++ b/src/main/java/org... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `.query` suffix is not appropriate for operation-type interfaces such as the (batch) export endpoints — e.g. `exportDlqMessage.query` contains two verbs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__rocketmq-dashboard__52 | apache/rocketmq-dashboard | 52 | defect | 749e6f15f769ce6fb50f58ded2881dad0e450f5f | 1699d72c3970650b33f65e577123b3aad5d4bd4a | [ISSUE #50]Modify the suffix of the interface name. | ## What is the purpose of the change
Modify the suffix of the interface. The query type is .query and the operation type is .do
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you cou... | diff --git a/src/main/java/org/apache/rocketmq/dashboard/controller/DlqMessageController.java b/src/main/java/org/apache/rocketmq/dashboard/controller/DlqMessageController.java
index 7caec9f70..d32b1aaa0 100644
--- a/src/main/java/org/apache/rocketmq/dashboard/controller/DlqMessageController.java
+++ b/src/main/java/or... | 2 | 1 | 1 | [{"id": "G0", "claim": "The two similar export endpoints use different HTTP methods — `exportDlqMessage` is `Get` but `batchExportDlqMessage` is `Post` — and should be consistent.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "`exportDlqMessage` and `b... | null |
apache__rocketmq-dashboard__6 | apache/rocketmq-dashboard | 6 | defect | 62a4cafea056b9237c746be3a725291d8a71e60d | c0709d3376bf2050cc20f1a32cfc8c47cbdf0ebf | [ISSUE #5]Add permission control when loginRequired is true. | ## What is the purpose of the change
#5
When the login user calls all interfaces, the permission of each interface is verified by AOP, by checking whether the role to which the user belongs has the access permission of the interface. All interface urls that a common user role has access permissions are saved in a... | diff --git a/doc/1_0_0/UserGuide_CN.md b/doc/1_0_0/UserGuide_CN.md
index e5f795a504..bcff2cee87 100755
--- a/doc/1_0_0/UserGuide_CN.md
+++ b/doc/1_0_0/UserGuide_CN.md
@@ -112,4 +112,35 @@ admin=admin,1
user1=user1
user2=user2
```
-* 3. 启动控制台则开启了登录功能
\ No newline at end of file
+* 3.启动控制台则开启了登录功能
+
+## 权限检验
+如果用户访问co... | 16 | 11 | 2 | [{"id": "G0", "claim": "A UserRoleEnum should be added instead of the role string constants/magic type numbers used in several places.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The permission check logic should not live in PermissionAspect;... | null |
apache__rocketmq-schema-registry__25 | apache/rocketmq-schema-registry | 25 | defect | e85fbf7afeb7d43694f7974828e51720a1ee0645 | 217cc5c67febb7549a29a7cd03d94ad150bc2749 | refine avro serde type to SpecificAvroSerde and GernericAvroSerde | 1. provide specific avro serde & generic avro serde
2. change some annotation message. | diff --git a/client/src/main/java/org/apache/rocketmq/schema/registry/client/config/AvroDeserializerConfig.java b/client/src/main/java/org/apache/rocketmq/schema/registry/client/config/AvroDeserializerConfig.java
new file mode 100644
index 0000000..af897cc
--- /dev/null
+++ b/client/src/main/java/org/apache/rocketmq/sc... | 3 | 2 | 0 | [{"id": "G0", "claim": "AvroSerde, on which the new SpecificAvroSerde and GenericAvroSerde depend, should be moved to the common module to avoid user confusion (or the Serde and Serializer packages merged if they are parallel).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id... | null |
apache__rocketmq-schema-registry__47 | apache/rocketmq-schema-registry | 47 | defect | 993b5d1a9196fcc8aeb0d9ec8f51be24b985b614 | a617806b6e1ab74aa9302b1cd9b5a7ab89ccd5d3 | Support ser/de skip schema registry service.[ISSUE-38] | Related issue #38
Support JSON and AVRO ser/de without schema registry service. | diff --git a/client/src/main/java/org/apache/rocketmq/schema/registry/client/config/AvroDeserializerConfig.java b/client/src/main/java/org/apache/rocketmq/schema/registry/client/config/AvroSerializerConfig.java
similarity index 89%
rename from client/src/main/java/org/apache/rocketmq/schema/registry/client/config/AvroD... | 7 | 4 | 3 | [{"id": "G0", "claim": "The ReflectionAvroSerde test method in SkipSchemaRegistrySerdeTest should be moved into its own ReflectionAvroSerdeTest class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The null-target-type check should be applied on... | null |
apache__rocketmq-spring__129 | apache/rocketmq-spring | 129 | defect | 908ea4812192b36789c46d230b2fa61f51f3c867 | abf0ad0df39ca8709d7417ab15fde93fa7b86c09 | [ISSUE #103]Support resolvePlaceholders for selectorExpression | @RocketMQMessageListener(topic =
"${demo.rocketmq.test.consumer.topic}",selectorExpression="${demo.rocketmq.test.consumer.tags}"
,consumerGroup = "${demo.rocketmq.test.consumer.group}")
## What is the purpose of the change
purpose to support resolvePlaceholders for selectorExpression
## Brief changelog
modi... | diff --git a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/autoconfigure/ListenerContainerConfiguration.java b/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/autoconfigure/ListenerContainerConfiguration.java
index 5d461bcf..927bf44c 100644
--- a/rocketmq-spring-boot/src/main/java/org/apac... | 3 | 3 | 1 | [{"id": "G0", "claim": "The parsed selectorExpression is overwritten when container.setRocketMQMessageListener is called, so the placeholder-resolved value never takes effect; RongtongJin suggests deleting `this.selectorExpression = anno.selectorExpression();` in setRocketMQMessageListener.", "category": "correctness",... | null |
apache__rocketmq-spring__152 | apache/rocketmq-spring | 152 | defect | 908ea4812192b36789c46d230b2fa61f51f3c867 | bd855b7eb91d6dc569f8d550e7708048e4785b8a | [ISSUE #147]An enhancement about the convert in RocketMQTemplate | ## What is the purpose of the change
An enhancement about the convert in RocketMQTemplate
## Brief changelog
enhancement #147
Do not use `ObjectMapper` directly, Instead, the externally built converter is injected into `MessageConverter` in `RocketMQTemplate`.
a piece of code in `RocketMQMessageConver... | diff --git a/rocketmq-spring-boot-samples/pom.xml b/rocketmq-spring-boot-samples/pom.xml
index e348e15c..c513a5d1 100644
--- a/rocketmq-spring-boot-samples/pom.xml
+++ b/rocketmq-spring-boot-samples/pom.xml
@@ -38,7 +38,7 @@
</modules>
<properties>
- <rocketmq-spring-boot-starter-version>2.0.3</rocke... | 3 | 3 | 0 | [{"id": "G0", "claim": "It would be better to move User.java (and the User class duplicated inside ProducerApplication.java) into the domain package.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In ProducerApplication.java the catch clause should be wr... | null |
apache__rocketmq-spring__301 | apache/rocketmq-spring | 301 | defect | ba300d1f74b003e25e53b6c00178164dd8abfc56 | f7d4424ea14e4c6b89e0516341d99bb0e039bdd6 | [ISSUE #268] RocketMQMessageListener nameServer not work | ## What is the purpose of the change
issue#268
## Brief changelog
Set instance name for consumers
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is ... | diff --git a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/DefaultRocketMQListenerContainer.java b/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/DefaultRocketMQListenerContainer.java
index dff5e0c6..22838c19 100644
--- a/rocketmq-spring-boot/src/main/java/org/apache/rocke... | 1 | 1 | 0 | [{"id": "G0", "claim": "The separator in the new getInstanceName method should be '@' rather than '|'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
apache__rocketmq-spring__39 | apache/rocketmq-spring | 39 | defect | dfb71d73bdbb94b996cc876f235c78d9fe474420 | 804f38185a946fdd614583c9f01ee4063c2fe29d | [ISSUE #38]support payload with byte[] type in message conversion | ISSUE #38
Support payload with byte[] type in message conversion.
| diff --git a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/RocketMQUtil.java b/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/RocketMQUtil.java
index 7905be5d..4f21af9b 100644
--- a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/RocketMQUtil.java
+++... | 2 | 2 | 1 | [{"id": "G0", "claim": "A test covering byte-array payload processing in the message conversion should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new byte[] branch should check payloadObj instead of message.getPayload(), to keep the co... | null |
apache__rocketmq-spring__438 | apache/rocketmq-spring | 438 | defect | 0466befd24e42bcb9d639259e3404da64825f591 | a1bf30292fb793a9dfb33cd3876678ca051d6bc2 | [ISSUE #426]Fix deserialize LocalDateTime failed when using jdk8 | ## What is the purpose of the change
#426
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the c... | diff --git a/rocketmq-spring-boot-parent/pom.xml b/rocketmq-spring-boot-parent/pom.xml
index 21af4d61..8826db16 100644
--- a/rocketmq-spring-boot-parent/pom.xml
+++ b/rocketmq-spring-boot-parent/pom.xml
@@ -164,6 +164,12 @@
<version>${jackson.version}</version>
</dependency>
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "A test covering the change would be better, i.e. unit tests should be added for the pull request.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__rocketmq-spring__49 | apache/rocketmq-spring | 49 | defect | 2b6181e181b4f45620ae07da12bb2632d8607603 | 64192e83bdc53d642632d992bbe676826e87f5c5 | [ISSUE-41] Optimize header conversion | ## What is the purpose of the change
As titled.
## Brief changelog
XX
## Verifying this change
see RocketMQUtilTest
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 checklist(the last one is not necessar... | diff --git a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/RocketMQHeaders.java b/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/RocketMQHeaders.java
index e21aeab4..7afefbde 100644
--- a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/RocketMQHeaders... | 2 | 1 | 0 | [{"id": "G0", "claim": "The repeated inline header-key concatenation in convertToSpringMessage should be extracted into a method, e.g. toRMQHeaderKey(RocketMQHeaders.KEYS).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's backwa... | null |
apache__rocketmq-spring__515 | apache/rocketmq-spring | 515 | defect | 694d4a1c4f7f9334927636021433dadf605542cd | 19d522a3fbdd63136b6e2a505af8141ab6da6541 | [ISSUE #506] support send message with arbitrarily delay time | ## What is the purpose of the change
support send message with arbitrarily delay time
## Brief changelog
upgrade rocketmq client version to 5.0.0.
add api in RocketMqTemplate to support send message with arbitrarily delay time | diff --git a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/core/RocketMQTemplate.java b/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/core/RocketMQTemplate.java
index f1f7886d..8b444e32 100644
--- a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/core/RocketMQTemplate.java
... | 2 | 1 | 1 | [{"id": "G0", "claim": "The documentation of the new delay-time send interfaces should remind users that they only take effect on RocketMQ 5.0 servers.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Public convenience interfaces for delayTimeMs an... | null |
apache__rocketmq-spring__56 | apache/rocketmq-spring | 56 | defect | 7b04b2df58de052066030003da26bb1ee70426ed | 885dbd74d2b2b51a302020f37d0d360d44dad5b4 | [ISSUE-46] Support mutliple RocketMQTemplate & name-server overrided Consumer Listener | ## What is the purpose of the change
[ISSUE #46 ]
1. Add an extra optional property 'nameServer' for @RocketMQMessageListener, to define a different nameserver for Consumer
2. Support to define and use extra RocketMQTemplate, which can have different nameServer or other properties
For details, please see the REA... | diff --git a/README.md b/README.md
index b1f4178b..780c5ce4 100644
--- a/README.md
+++ b/README.md
@@ -361,5 +361,45 @@ public class MyConsumer implements RocketMQListener<String> {
1. How do I send transactional messages?
- It needs two steps on client side: a) Define a class which is annotated with @RocketMQTr... | 3 | 1 | 0 | [{"id": "G0", "claim": "The change gives every template/listener its own MQ client even when the name server is the same, so mqclient resources that could be reused are not; the reviewer is unsure and says this may need discussion with the RocketMQ authors.", "category": "performance", "verdict": "supported", "priority... | null |
apache__rocketmq__4601 | apache/rocketmq | 4,601 | defect | 2f5fd91a6fbd5d92b87bf7c10e0c2ae5ae0357a3 | 84426f77680fb03add8a35b6a6f6c817bce3be3e | [ISSUE#4599] Optimize enableBackpressureForAsyncMode not relying on NettyRemoting | [issue4599](https://github.com/apache/rocketmq/issues/4599)
## What is the purpose of the change
In the current backpressure mechanism [pull request#4553](https://github.com/apache/rocketmq/pull/4553), the runner task is running directly relying on backpressure in NettyRemoting.
```java
if (this.defaultMQProducer.i... | diff --git a/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java b/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java
index 668f9b6b690..643e18d4a77 100644
--- a/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl... | 7 | 5 | 1 | [{"id": "G0", "claim": "The PR should provide test results, such as benchmark numbers, demonstrating the improvement that enabling backpressure brings.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "guyinyou suggests trying a semaphore-based approach to... | null |
apache__rocketmq__5083 | apache/rocketmq | 5,083 | defect | b292012ad7ead9a1e9a15522a0cb8e6e40fa165d | 7c47c902664621c359b043468726f072b53dc685 | [ISSUE #5069] polish the startup of proxy; can specify parameters on the command line of proxy | **Make sure set the target branch to `develop`**
## What is the purpose of the change
Nowadays, proxy can only be configured by configuration file, it is not convenient to use.
## Brief changelog
Proxy can config these parameters on the command line
- `-n` `--namesrvAddr`, the nameserver addr
- `-pc` `--p... | diff --git a/distribution/bin/mqbroker b/distribution/bin/mqbroker
index 6a79c392e8da..17e39f07cb51 100644
--- a/distribution/bin/mqbroker
+++ b/distribution/bin/mqbroker
@@ -42,4 +42,37 @@ fi
export ROCKETMQ_HOME
-sh ${ROCKETMQ_HOME}/bin/runbroker.sh org.apache.rocketmq.broker.BrokerStartup $@
+other_args=" "
+en... | 2 | 2 | 1 | [{"id": "G0", "claim": "Rename the config field nameSrvAddr (and its accessors) to namesrvAddr to match the naming used in the broker config.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test case making sure the local-mode startup works... | null |
apache__rocketmq__5114 | apache/rocketmq | 5,114 | defect | 6efbe68241d813d86b5c52f29c2ea30bb66ba368 | 8472d658513a6c2b684d9e2fec642e2f51a9b84d | [ISSUE #5095] [Remoting-A] Support logging rpc distribution in remoting protocol | [ISSUE #5095] [Remoting-A] Support logging rpc distribution in remoting protocol | diff --git a/distribution/conf/logback_broker.xml b/distribution/conf/logback_broker.xml
index 1186d7fb864..3daa0b2f259 100644
--- a/distribution/conf/logback_broker.xml
+++ b/distribution/conf/logback_broker.xml
@@ -119,6 +119,27 @@
<appender-ref ref="RocketmqStoreAppender_inner"/>
</appender>
+ <ap... | 1 | 1 | 0 | [{"id": "G0", "claim": "The handler's AtomicLong counters should be replaced with LongAdder for better performance.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__rocketmq__5193 | apache/rocketmq | 5,193 | defect | a3e596550d0bf0a3307becf38cb62e7d1646e1fd | 43b6e0adbabecadafd5288a8fc70f254203f0e87 | [ISSUE #5122] Enable checkstyle for test code (rocketmq-broker module) | **Make sure set the target branch to `develop`**
## What is the purpose of the change
The first PR #5166
fix #5122 for rocketmq-broker module
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be ... | diff --git a/broker/src/test/java/org/apache/rocketmq/broker/BrokerOuterAPITest.java b/broker/src/test/java/org/apache/rocketmq/broker/BrokerOuterAPITest.java
index ffb1d95224ad..a353a7ad31ad 100644
--- a/broker/src/test/java/org/apache/rocketmq/broker/BrokerOuterAPITest.java
+++ b/broker/src/test/java/org/apache/rocke... | 2 | 1 | 1 | [{"id": "G0", "claim": "The constant should be named BROKER_NAME (or simply brokerName) since there is only one test broker in TopicQueueMappingManagerTest.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Checkstyle should not be enabled for test s... | null |
apache__rocketmq__5887 | apache/rocketmq | 5,887 | defect | e0ed87dc9c261b74225de5b67acee141d36ff593 | e135ef79ca99f5f3fe9b933aa0dcdaae43c141cd | [ISSUE #5884] Concurrent check CommitLog messages | **Make sure set the target branch to `develop`**
## What is the purpose of the change
close #5884
## Brief changelog
XX
## Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, `it would be helpful if you could finish the following 5 ... | diff --git a/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java b/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java
index 11898f8cf67..a4af442220a 100644
--- a/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java
+++ b/store/src/main/java/org/apache/rocketmq/st... | 19 | 15 | 5 | [{"id": "G0", "claim": "The new batch-dispatch services should be built on org.apache.rocketmq.common.ServiceThread (including its wait/notify logic) instead of raw java.lang.Thread instances.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Create a new c... | null |
apache__rocketmq__5930 | apache/rocketmq | 5,930 | defect | 0ea930182c60f2dbb2bf036223d9bd941fcd2f3b | 6f53c38be748d90f4f9111855ee8def0e8aa1aaf | [ISSUE #5929] Fix the issue that broker send heartbeat to controller frequently causing thread blocking when the network partition |
**Make sure set the target branch to `develop`**
## What is the purpose of the change
Close #5929
Fix the issue that broker send heartbeat to controller frequently causing thread blocking when the network partition
## Brief changelog
1. Regularly scan whether the address of controllers is connected
2. ... | diff --git a/broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java b/broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java
index 8b3dbdfa94b..a96aa040548 100644
--- a/broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java
+++ b/broker/src/main/java/org/apache/rocketmq/brok... | 3 | 2 | 0 | [{"id": "G0", "claim": "The anonymous Runnable's run() method should follow standard code style with @Override on its own line.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ArrayList returned by getAvailableControllerAddresses should be gi... | null |
apache__rocketmq__7544 | apache/rocketmq | 7,544 | defect | 48ef5ced4639699e3ba207b1a648b1fd47649a69 | 84d58172577a750d175f6accc93de76654e43010 | [ISSUE #7543] Retry topic v2 in pop | <!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. -->
### Which Issue(s) This PR Fixes
<!-- Please ensure that the related issue has already been created, and [link this pull request to that issue using keywords](<https://docs.github.com/en/issues/tracking-your... | diff --git a/acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java b/acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java
index 72aa8ca7174..1e185afff6a 100644
--- a/acl/src/main/java/org/apache/rocketmq/acl/plain/PlainAccessResource.java
+++ b/acl/src/main/java/org/apache/rocketm... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request needs to take the modifications from #7208 into account in order to ensure compatibility (e.g. handling of the v1 retry topic, not only the v2 one).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pop retr... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.