ManagementPortal icon indicating copy to clipboard operation
ManagementPortal copied to clipboard

Two sequences in MP for an entity

Open nivemaham opened this issue 8 years ago • 2 comments

During performance testing i noticed the subject.id are not incremented properly with a uniform sequencer image This will create failures in future when lower sequence reaches the higher. This should be investigated and fixed.

nivemaham avatar Dec 07 '17 17:12 nivemaham

As far as i can tell, only one sequence generator is used. However it is used by all persistent entities which explains the gaps in ids, however the jump from 1000's range to 10000's range seems quite odd indeed. What are the performance tests actually doing? Perhaps they generate a lot of audit events? These are persistent entities as well and as a result also increment the sequence generator.

dennyverbeeck avatar Dec 08 '17 14:12 dennyverbeeck

I don't think the ids are shared if the same sequence-generator is used by many persistent entities.

nivemaham avatar Dec 28 '17 17:12 nivemaham