Results 1 to 4 of 4
  1. #1

    DELETE event is not propagated to the client

    We have a command-based adapter set up with a client subscribing to specific item.
    The sever send ADD and UPDATE commands which propagate successfully to the client with the specific key.

    But when the server send a DELETE command with the same key the event is not propagated to the client.

    What can be the reason the DELETE not passed on to the client side?

    IMPORTANT NOTE : If the client side subscribed with subscription type MERGE (instead of COMMAND) then the event with DELETE command is sent successfully to the client.

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    718
    Hi shirli_om2,

    One of the most probable reasons why a DELETE event is not propagated to the clients is that the key specified in the event does not match any of those present in the internal state of the server for that Item at the time the update arrives.
    In that case the event is simply filtered out by the server as it does not produce any significant change to the status of the Item.

    In any case to understand what happens in your specific case I would ask you to leverage DEBUG lever for these server logger settings (lightstreamer_log_conf.xml):

    <logger name="LightstreamerLogger.subscriptions" level="DEBUG"/>
    <logger name="LightstreamerLogger.subscriptions.upd" level="DEBUG"/>
    <logger name="LightstreamerLogger.preprocessor" level="DEBUG"/>
    <logger name="LightstreamerLogger.pump" level="DEBUG"/>

    Please, if you can reproduce the issue with a dedicated test server (or in any case with few active client sessions at the time of the test) so that we can better isolate the test case, send us the server log file (Lightstreamer.log).
    You could also provide us the log file via the support@lightstreamer.com email.

    Thank you,
    Giuseppe

  3. #3
    Thank you, it was an issue on client side not on LS server, solved

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    718
    Thank you for the feedback.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Unexpected DELETE event for key... event discarded.
    By paulwiersema in forum General
    Replies: 2
    Last Post: February 1st, 2019, 12:52 PM
  2. Replies: 9
    Last Post: November 7th, 2017, 03:09 PM
  3. Replies: 1
    Last Post: June 9th, 2015, 02:37 PM
  4. Command Mode Delete Processing Question
    By wwatts in forum Client SDKs
    Replies: 1
    Last Post: March 13th, 2012, 09:47 AM
  5. Replies: 2
    Last Post: March 1st, 2012, 01:53 PM

Tags for this Thread

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 05:19 AM.
Lightstreamer Logo