Results 1 to 3 of 3
  1. #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.

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    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

  3. #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

  1. Event that traps an unexpected disconnect
    By kpturner in forum Client SDKs
    Replies: 2
    Last Post: September 26th, 2013, 11:27 AM
  2. Replies: 7
    Last Post: June 7th, 2010, 10:38 AM
  3. < WARN> Unexpected null event ???
    By mohamida in forum Adapter SDKs
    Replies: 2
    Last Post: December 10th, 2009, 07:57 AM
  4. WARN: Updated discarded for item ?
    By craigtype3 in forum Adapter SDKs
    Replies: 4
    Last Post: August 7th, 2009, 06:47 PM
  5. Unexpected snapshot event for MERGE
    By churrusco in forum General
    Replies: 2
    Last Post: May 4th, 2007, 04:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 08:24 PM.