Repository navigation
Conversation
1 of 14 tasks
|
The pr had no activity for 30 days, mark with Stale label. |
…rors when using the Admin API (apache#23928) ### Motivation Currently, when there is a 404 or 409 error in the Admin API call, the broker prints the error logs. ``` ERROR org.apache.pulsar.broker.admin.v2.PersistentTopics - [xxx] Failed to get partitioned metadata topic persistent://xxx: Namespace not found ``` ``` ERROR org.apache.pulsar.broker.admin.v2.Namespaces - Failed to get policies for namespace xxx: Namespace does not exist ``` ``` ERROR org.apache.pulsar.broker.admin.v2.PersistentTopics - [xxx] Failed to create non-partitioned topic persistent:/xxx: This topic already exists ``` ``` [pulsar-web-44-1] ERROR org.apache.pulsar.broker.admin.AdminResource - [admin] Failed to create partitioned topic persistent://xxx java.util.concurrent.CompletionException: org.apache.pulsar.broker.web.RestException: This topic already exists ``` These errors are related to the client side. The client can handle the error, so we don't need to print it in the broker log. ### Modifications - Print a warning log for NotFound or Conflict errors in the Admin API.
…ue during subscription. (apache#23939)
…in ServerCnx (apache#23938) ### Motivation If the producer is created with some schema error, the broker will print many error logs like this: ``` ERROR org.apache.pulsar.broker.service.ServerCnx - Try add schema failed, remote address xxx java.util.concurrent.CompletionException: org.apache.pulsar.broker.service.schema.exceptions.IncompatibleSchemaException: Producers cannot connect or send message without a schema to topics with a schemawhen SchemaValidationEnforced is enabled ``` This error can be reported to the client and not need to print it in the broker. ### Modifications - Avoid printing log for IncompatibleSchemaException in ServerCnx
Signed-off-by: Zixuan Liu <[email protected]>
…ues causing excessive throttling and connection timeouts (apache#23930)
Signed-off-by: Zixuan Liu <[email protected]>
…perations (apache#23955) Co-authored-by: Lari Hotari <[email protected]>
… trimming ledger and non-durable cursor creation (apache#23951) Co-authored-by: Yunze Xu <[email protected]>
… decompression and compression (apache#23960)
…pute backlog twice (apache#23957)
…-go (apache#23861) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matteo Merli <[email protected]>
Signed-off-by: Zixuan Liu <[email protected]>
…io/solr (apache#23899) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matteo Merli <[email protected]>
…ManyRequestsException (apache#23971)
…ize and batching is enabled (apache#23967)
…ining compatibility issue (apache#24307)
…Thread interrupt status (apache#24309) ### Motivation Terminating pulsar-perf with CTRL-C could take a while. There's also a similar problem in some test cases that I came across while fixing test resource leaks. ### Modifications - replace `while(true)` loops with `while(!Thread.currentThread().isInterrupted())` - properly propagate Thread interrupted information after catching exceptions - fix issue in tests related to runtime hook resource leaks - when the execution completes successfully, remove the shutdown hook and run it without waiting for JVM exit
…c and persistence global topic policies never affect (apache#24279)
…pache#24313) ### Motivation There is still a call to the synchronous method in `internalCreatePartitionedTopic`, which can lead to a deadlock under certain conditions. ### Modifications - Replaced synchronous call to `getNamespacePolicies()` with `getNamespacePoliciesAsync()`. - Replaced synchronous call to `getTopicPartitionList()` with `getTopicPartitionListAsync()`. - Updated `internalCreatePartitionedTopic` to propagate the async flow properly.
### Motivation we can now obtain the offset of a message by its message id: 1. Get the message by id using `get-message-by-id` cmd 2. Get the index of the message using `Message.getIndex()` But we cannot obtain the message id by offset. Then we need to add a new API to get the message id by offset. ### Modifications Add a new http API to retrieve the message ID by offset. We propose to add a new API to retrieve the message ID by offset, enabling us to cache the mapping between message ID and offset. This will allow us to use offsets for seek and acknowledgment operations when consuming messages through the standardized API.
…picWithRollbackDuration (apache#24318) ### Motivation  The root cause of this problem is that the `reader` is not cleaned up after the unit test `shouldSupportCancellingReadNextAsync` is executed. ### Modifications Add @cleanup on `reader` in test `shouldSupportCancellingReadNextAsync`.
…ltipleTimesWhenTrimLedgers (apache#24330)
…bStoreBackedReadHandleImplV2.readAsync (apache#24331)
…tion deletion rate (apache#24190) Co-authored-by: zjxxzjwang <[email protected]>
Co-authored-by: Lari Hotari <[email protected]>
…s to avoid duplicate Reads (apache#24346)
…ed state (apache#24352) Signed-off-by: Zixuan Liu <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.