Results 17 issues of hanmz

### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Read release policy - [X] I understand that unsupported versions don't get bug fixes....

type/bug

#### Expected behavior Ack message is normal. #### Actual behavior We occasionally encounter the following error when ack message. Once this error occurs, the client cannot recover. The phenomenon is...

### Motivation ![Clipboard_Screenshot_1747985208](https://github.com/user-attachments/assets/e2c25dee-b50e-4d2b-8cc7-f15dea78928e) This test sometimes blocks at `consumer.receive()` at line 261. The problem is introduced in this PR https://github.com/apache/pulsar/pull/23986. For batch sending scenarios, the current way of creating producers...

doc-not-needed
release/3.0.16
release/4.0.9

### Motivation Currently, when `readPosition`== `lastPosition‘next`, getNumberOfEntries will be entered. However, this is meaningless and may affect performance. For example, readPosition=3:0, lastPosition=3:-1, will enter the getNumberOfEntries method ### Modifications When...

doc-not-needed
PIP

### Motivation Currently, we can create a non-persistent partition topic contain `-partition-.` However, we cannot use it as a normal non-persistent partition topic. For example, when we use the `partitioned-stats`...

doc-not-needed
release/4.0.9
release/4.1.3

### Motivation When executing this test case in a 16C32G Linux environment, the following error will be encountered. The problem is that Jetty requires more than 4 threads. Therefore, we...

area/test
doc-not-needed
ready-to-test

### Motivation Method `underreplicationManager.releaseUnderreplicatedLedger(ledgerIdToReplicate)` has call in method `logBKExceptionAndReleaseLedger(e, ledgerIdToReplicate)`, so we not need execute `underreplicationManager.releaseUnderreplicatedLedger(ledgerIdToReplicate)` in finally. ### Changes Set `deferLedgerLockRelease` is true after execute `logBKExceptionAndReleaseLedger(e, ledgerIdToReplicate)`.