[Standards] Clarify meaning of pubsub#item_expire: creation or modification?
debacle at debian.org
Fri Sep 17 09:29:17 UTC 2021
this question came up when discussing the server side implementation of
pubsub#item_expire: Is expiry relative to original creation or to last
It looks like both options can make sense, but in most cases, last
modification is more useful, e.g. when a singleton node is updated or in
case of redacted blog posts.
Also, the standard already says, that re-publication were equivalent to
> Note: If a publisher publishes an item with an Item ID and the ItemID
> matches that of an existing item, the pubsub service MUST NOT fail the
> publication but instead MUST overwrite the existing item and generate
> a new event notification (i.e., re-publication is equivalent to
To implement an absolute deadline of an item, the expiry time is not
useful anyway, because it is a per node option, not a per item one. In
such cases, the publisher should remove the node when time comes.
In any case, the standard should clear about what is intended.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1895 bytes
More information about the Standards