chennaji9 opened a new pull request, #11317:
URL: https://github.com/apache/rocketmq/pull/11317

   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   Fixes #11314
   
   ### Brief Description
   
   Commit 5fe004168 (2021-05, "Change default value of some parameters: 
sendMessageThreadPoolNums/useReentrantLockWhenPutMessage/...") flipped 
`useReentrantLockWhenPutMessage` from `false` to `true`, but three 
documentation pages still tell operators the default is `false`:
   
   - `docs/en/Troubleshooting.md` (Performance section)
   - `docs/en/operation.md`
   - `docs/cn/operation.md`
   
   An operator reading these pages concludes a stock broker uses the spin lock 
and that the reentrant lock must be enabled manually — the opposite of the 
shipped default (`MessageStoreConfig.java:166`: `private boolean 
useReentrantLockWhenPutMessage = true;`). This PR updates all three pages to 
`true`. Three one-line changes.
   
   ### How Did You Test This Change?
   
   Documentation-only change, verified statically:
   - `grep -rn 'useReentrantLockWhenPutMessage' docs/` before/after — all three 
stale claims fixed, no other pages mention the flag.
   - Default confirmed in source: 
`store/src/main/java/org/apache/rocketmq/store/config/MessageStoreConfig.java:166`
 at the PR base commit; flip history confirmed via `git log -S` (commit 
5fe004168, `false` → `true`).
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to