Skip to content
This repository has been archived by the owner on Jun 8, 2018. It is now read-only.

Some messages, both subscription and application type have all-zero server UUID #3

Closed
dima7 opened this issue Sep 22, 2011 · 2 comments
Assignees

Comments

@dima7
Copy link

dima7 commented Sep 22, 2011

5603 [New I/O client worker #6-2] DEBUG us.harward.commons.net.pubsub.RoundRobinReconnectHandler - Established connection to server localhost/127.0.0.1:9002
5603 [Hashed wheel timer #7] DEBUG us.harward.commons.net.pubsub.RoundRobinReconnectHandler - Have available servers[[localhost/127.0.0.1:9003]], calling connect() with localhost/127.0.0.1:9003
5604 [New I/O server worker #3-4] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Server received message: SubscriptionMessage{type=Subscription, ttl=2, source UUID=8ec18bdc-7a8f-4b58-9529-21e983eaba36, server UUID=00000000-0000-0000-0000-000000000000, body length=32}
5604 [New I/O server worker #3-4] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Dropped TTL: SubscriptionMessage{type=Subscription, ttl=1, source UUID=8ec18bdc-7a8f-4b58-9529-21e983eaba36, server UUID=00000000-0000-0000-0000-000000000000, body length=32}
5609 [New I/O client worker #7-2] DEBUG us.harward.commons.net.pubsub.RoundRobinReconnectHandler - Established connection to server localhost/127.0.0.1:9003
5610 [New I/O server worker #4-3] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Server received message: SubscriptionMessage{type=Subscription, ttl=2, source UUID=1ca9a58e-1f20-4471-9c45-190ee1dfe979, server UUID=00000000-0000-0000-0000-000000000000, body length=32}
5610 [New I/O server worker #4-3] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Dropped TTL: SubscriptionMessage{type=Subscription, ttl=1, source UUID=1ca9a58e-1f20-4471-9c45-190ee1dfe979, server UUID=00000000-0000-0000-0000-000000000000, body length=32}
5624 [Hashed wheel timer #11] DEBUG us.harward.commons.net.pubsub.RoundRobinReconnectHandler - Have available servers[[localhost/127.0.0.1:9003]], calling connect() with localhost/127.0.0.1:9003
5629 [New I/O client worker #11-2] DEBUG us.harward.commons.net.pubsub.RoundRobinReconnectHandler - Established connection to server localhost/127.0.0.1:9003
5631 [New I/O server worker #4-4] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Server received message: SubscriptionMessage{type=Subscription, ttl=2, source UUID=1ce7dcad-0740-4d0d-8b79-491563580c78, server UUID=00000000-0000-0000-0000-000000000000, body length=32}
5631 [New I/O server worker #4-4] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Dropped TTL: SubscriptionMessage{type=Subscription, ttl=1, source UUID=1ce7dcad-0740-4d0d-8b79-491563580c78, server UUID=00000000-0000-0000-0000-000000000000, body length=32}
PSCacheS has 30 entries.
10749 [New I/O server worker #1-1] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Server received message: ApplicationMessage{type=Application, ttl=2, source UUID=80b7f701-35ad-4913-b070-b2046f99c058, server UUID=00000000-0000-0000-0000-000000000000, body length=21}
10750 [New I/O server worker #1-1] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Dropped TTL: ApplicationMessage{type=Application, ttl=1, source UUID=80b7f701-35ad-4913-b070-b2046f99c058, server UUID=00000000-0000-0000-0000-000000000000, body length=21}
10750 [New I/O server worker #1-1] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Server received message: ApplicationMessage{type=Application, ttl=2, source UUID=80b7f701-35ad-4913-b070-b2046f99c058, server UUID=00000000-0000-0000-0000-000000000000, body length=21}
10750 [New I/O client worker #9-1] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Server received message: ApplicationMessage{type=Application, ttl=1, source UUID=80b7f701-35ad-4913-b070-b2046f99c058, server UUID=fa725965-addf-4cb1-9f5c-697d3d85b8f4, body length=21}
10751 [New I/O server worker #1-1] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Dropped TTL: ApplicationMessage{type=Application, ttl=1, source UUID=80b7f701-35ad-4913-b070-b2046f99c058, server UUID=00000000-0000-0000-0000-000000000000, body length=21}
10751 [New I/O client worker #9-1] DEBUG us.harward.commons.net.pubsub.ServerMessageHandler - Dropped TTL: ApplicationMessage{type=Application, ttl=0, source UUID=80b7f701-35ad-4913-b070-b2046f99c058, server UUID=fa725965-addf-4cb1-9f5c-697d3d85b8f4, body length=21}

@ghost ghost assigned nharward Sep 22, 2011
@nharward
Copy link
Owner

Dima - after talking about this I realize that this is because the server is acting like a client in these cases, so it's the "correct" behavior. Otherwise I'd have to hack up the client to inject the server ID which seems odd. But it's open for discussion - if you disagree please comment.

@dima7
Copy link
Author

dima7 commented Sep 22, 2011

This is what I thought initially. I'm fine with it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants