Article - CS340193

Stream or Value Stream entry value is overwritten by other entry in ThingWorx

Modified: 25-Jul-2024   


Applies To

  • ThingWorx Platform 8.0 to 9.5

Description

  • Stream or Value Stream entry value is overwritten by other entry
  • Logged property updates performed in a loop are not all persisted to the Value Stream
  • Example use case :
    • A custom service inserts entries into a stream, e.g: inserts 100 entries inside a for loop 
    • After the service is executed less than 100 records are present in the Stream
    • Entries having the same timestamp as the previous one to the millisecond overwrote their value
  • How are value stream entries stored to database and calculate write per second (WPS)? 
This is a printer-friendly version of Article 340193 and may be out of date. For the latest version click CS340193