5.4.16. Instances

5.4.16.1. [Major] Failure to register instances of mutable flat data types

instance_to_keyhash may have failed when Connext registered an instance. The error message may have looked something like the following:

ERROR PRESWriterHistoryDriver_registerInstance:!instanceToKeyHash
ERROR PRESPsService_registerInstance:!registerInstance
ERROR [0x0101E339,0xBC090EE0,0x31EC24EB:0x80000002{Entity=DW,Topic=TestTopic,Type=flat_types::RecordWKey,Domain=229}|WRITE|ADD TO WRITER QUEUE] PRESWriterHistoryDriver_addWrite:FAILED TO GET | Key hash
ERROR [0x0101E339,0xBC090EE0,0x31EC24EB:0x80000002{Entity=DW,Topic=TestTopic,Type=flat_types::RecordWKey,Domain=229}|WRITE] PRESPsWriter_writeInternal:!collator addWrite
write

The issue occurred if all of the following was true:

  • FlatData was being used.

  • The type was mutable.

  • The DataWriter’s pool_buffer_max_size property was set to a value less than the maximum serialized size of the key.

[RTI Issue ID CORE-15345]