Results 1 to 9 of 9

Hybrid View

  1. #1
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Doraintech,

    The messages of the first type, "Unexpected snapshot event for COMMAND item user1_fills", are due to updates with the isSnaspshot flag set to true when the server has already determined the 'End Of Snapshot'. The update is still propagated to the client but with isSnapshot set to false.

    The messages of the second type, "Unexpected UPDATE event for key ... . Event propagated as an ADD command.", are due to updates with the field command set to UPDATE for keys that actually have not been added to the Item with an event type ADD. The server in this case accepts the update changing the field command from UPDATE to ADD.

    It is absolutely correct that all snapshot events for a command Item should be ADD.

    I'm quite puzzled about the behavior that you are experiencing. In order to check the dynamics underway in your case, please could you arrange a test like this:
    1. Shut down the Lightstreamer server and your Adapters;
    2. Set these levels in the log configuration file (lightstreamer_log_conf.xml):
      • <logger name="LightstreamerProxyAdapters" level="DEBUG"> (for Lightstreamer 6)
      • <logger name="com.lightstreamer.adapters.remote" level="DEBUG"> (for Lightstreamer 5)
      • <logger name="LightstreamerLogger.subscriptions" level="DEBUG"/>
      • <logger name="LightstreamerLogger.pump" level="DEBUG"/>
    3. Restart the Lightstreamer server and your Adapters;
    4. Open only one client (and if it is possible perform only a single subscription for the Item involved);


    From the log we should understand exactly what happens to your updates.

    Regards,
    Giuseppe

  2. #2
    Hi Giuseppe,

    Please find the logs attached.

    I have done a find and replace to remove some sensitive data but that should not make any difference to the part you are interested in.

    Thanks for your help.

    Doraintech
    Attached Files Attached Files

 

 

Similar Threads

  1. Replies: 1
    Last Post: April 17th, 2015, 09:59 AM
  2. Error handling for: [Unexpected update for item]
    By tony99nyr in forum Adapter SDKs
    Replies: 3
    Last Post: April 7th, 2014, 09:29 AM
  3. Replies: 1
    Last Post: August 20th, 2009, 08:47 AM
  4. Pre-Processor Snapshot vs DataAdapter Snapshot
    By sukhdev in forum Adapter SDKs
    Replies: 3
    Last Post: August 1st, 2007, 08:44 AM

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 10:38 AM.