Open roshan-joyce-fujitsu opened 1 year ago
Thanks for the comment.
When an entity is deleted in the controller, should the TAPI Streaming Provider supply 2 log-records to the client? One with record-type==RECORD_TYPE_DELETE and another with record-type==RECORD_TYPE_TOMBSTONE?
If yes, what would be the reason/benefit?
If yes, should there be an order for the 2 log-records? DELETE first and then TOMBSTONE? Or the other way?
Is there an expectation that a log-record of type TOMBSTONE, the field log-record-body/record-content is mandatory. The reason for this question is the phrasing in page-36 where it says record-content: Note that for a DELETE, there is no need for content and hence this field may be omitted. I hope it can be same in TOMBSTONE log-record also. Actually, record-content is just an identity string identifying the object-class. And there is a class-specific augment that inserts a container to represent the actual content. So, perhaps we can include record-content in both DELETE and TOMBSTONE to indicate the object-class and avoid the augment with the actual contents of the deleted object.
Thanks for highlighting the page numbers (in V2.0) I will take a look at this text and will attempt to improve the clarity.
Raising a confusion after reading through TR548 v2.0 and the yang in 2.4.1. Please see if we need to add further clarifications in TR548.
record-type==RECORD_TYPE_DELETE
and another withrecord-type==RECORD_TYPE_TOMBSTONE
?log-record-body/record-content
is mandatory. The reason for this question is the phrasing in page-36 where it saysrecord-content: Note that for a DELETE, there is no need for content and hence this field may be omitted
. I hope it can be same in TOMBSTONE log-record also. Actually,record-content
is just an identity string identifying the object-class. And there is a class-specific augment that inserts a container to represent the actual content. So, perhaps we can includerecord-content
in both DELETE and TOMBSTONE to indicate the object-class and avoid the augment with the actual contents of the deleted object.Related sections in TR548 v2.0: