Comments (14)
Could you leave some free threads, either by increasing parallelism to more than 64 or using less than 64 max concurrent sessions?
from azure-service-bus-java.
Set
parallelism = 64
concurrent sessions=62
The result is the same.
Exceptions RENEWSESSIONLOCK are constantly throwing.
from azure-service-bus-java.
How often does it happen? How long after you registered the session handler do you see this issue?
from azure-service-bus-java.
Usually it happens 1 minute after all active sessions get closed
Just send to the queue new set of 62 (sessionID from 1 to 62 ) messages wait when all session closed and wait 1 minute - some SessionHandler sleep interval.
from azure-service-bus-java.
I have attached the full output
from azure-service-bus-java.
Looks like a bug. I am investigating it. Will update once the root cause is found.
from azure-service-bus-java.
It is a bug on the service side implementation. I have just fixed it. The fix will be rolled out to our production service in the next two weeks. The client is good. This issue happens only in the case of competing receivers trying to accept the same session. From the pattern of the trace, it looked to me that you are testing the client, deliberately waiting until all the sessions are closed before sending new messages. Thanks for finding the bug. Except in this scenario, it is fine even now.
from azure-service-bus-java.
@yvgopal - Do you know if this was rolled out to the service yet?
from azure-service-bus-java.
It looks like not, I still see the error
RENEWSESSIONLOCK encountered exception: java.lang.UnsupportedOperationException
This seriously affects us because we develop our product based on old library (without sessions support) and will need to re-facture code when new library and server part become stable.
from azure-service-bus-java.
The fix is rolled out to production. When was the last time you saw this error? What is your namespace? I can check the region and tell you when it was rolled out.
from azure-service-bus-java.
I see it right now.
East US
https://edpersb.servicebus.windows.net
from azure-service-bus-java.
Rollout happened on 5/22. Could you please attach your traces again? I am running my tests and I don't see it on my side.
from azure-service-bus-java.
The trace
trace.txt
from azure-service-bus-java.
Got it. Let me investigate and get back to you. I am working on it.
from azure-service-bus-java.
Related Issues (20)
- MessageAndSessionPump closes the connection on the receipt of SIGTERM.
- Memory Leak
- receiveMessages method with maxWaitTime not working as expected
- @ServiceBusQueueTrigger MSI authentication
- Azure service bus jar changing default Spring Boot behavior HOT 9
- ServiceBusSenderClient sendMessage method doesn't return MessageId after pushing the message to the queue/topic HOT 1
- Getting "ReactorDispatcher instance is closed" error when trying to close the azure service bus connection after receiving message HOT 14
- How to setup Message Listener to pickup message immediately on arrival (Pricing Tier: Basic)
- Azure event hub connection is closed error HOT 1
- Error occurred while refreshing token that is not retriable. Not scheduling refresh task.
- Infinite Receiver/Subscriber Issue | Java 11 | Spring Boot 2.5.* HOT 2
- Error processing ASB queues with Spring Boot and Apache Camel
- Transaction acknowledgement issue
- This repo is missing important files
- How can I get message attributes in Azure func
- LockRenewalOperation exception when marking message as abandon/complete on same client HOT 1
- Inconsistent Behavior of getLockedUntil() Method for Messages Received from Azure Service Bus Queue
- Consumer Fails to Reconnect and Consume Messages with Apache Qpid JMS Client (Version 0.51.0)
- Service Bus Client Mock Bean creation
- Security vulnerability in version 7.14.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-service-bus-java.