-
January 31st, 2019, 05:01 AM
#1
Unexpected DELETE event for key... event discarded.
We have a command-based adapter set up with a client subscribing to a list of specific keys. From the server side, we need to be able to tell the client when a key is no longer valid and can/should be removed. We've attempted to accomplish this by having the server send a DELETE command with the key that the client(s) should disregard. The command is making it through the adapter fine, but the L.preprocessor is logging the message in the title as a warning and, not surprisingly, the event is not propagated to the client.
The question is... under what conditions would a DELETE event for a key be "expected" and passed on? We have verified that the key is actually subscribed by successfully performing an update against the same key.
-
January 31st, 2019, 08:35 AM
#2
Hi,
The log message means that the delete command received refers to a key that is not present in the internal model of the Item maintained by the Lightstreamer server.
This means that either the key has never been added or has already been deleted before.
You should double check that the key is exactly identical to the one provided in a previous ADD event.
Please also consider that an UPDATE event for a missing key is automatically converted into an ADD event.
But if not the case, you should reproduce the issue in a test environment, with a limited number of active clients, and activate this log configuration:
<logger name="LightstreamerLogger.subscriptions" level="DEBUG"/>
<logger name="LightstreamerLogger.subscriptions.upd" level="DEBUG"/>
then please provide us the Lightstremaer server log.
Regards,
Giuseppe
-
February 1st, 2019, 12:52 PM
#3
Giuseppe,
Thanks for the quick reply. The issue was, in fact, that the key being passed was different than the key contained in the server.
Regards,
Paul
Similar Threads
-
By kpturner in forum Client SDKs
Replies: 2
Last Post: September 26th, 2013, 10:27 AM
-
By RichPratt in forum Adapter SDKs
Replies: 7
Last Post: June 7th, 2010, 09:38 AM
-
By mohamida in forum Adapter SDKs
Replies: 2
Last Post: December 10th, 2009, 06:57 AM
-
By craigtype3 in forum Adapter SDKs
Replies: 4
Last Post: August 7th, 2009, 05:47 PM
-
By churrusco in forum General
Replies: 2
Last Post: May 4th, 2007, 03:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:53 PM.
Bookmarks