You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the transport interface guarantees that contact.id and contact.data will be transported. Additionally, the transport interface reserves contact.transport property for internal use.
The behavior, when transported, of properties used by the example arbiters, such as contact.vectorClock or contact.workerNodes is undefined.
It would not do to simply add these properties into contact.data, because the user might not give a crap that vector clocks or other magic are being used.
One approach would be to require the transport interface to guarantee that contact.arbiter property is transported and standardize around the arbiters using that much in the same way that transports standardize around using contact.transport. This approach allows the user to only care about contact.id and contact.data, while not preventing arbiters to rewrite contact.data based on information in contact.arbiter.
The text was updated successfully, but these errors were encountered:
Currently, the transport interface guarantees that
contact.id
andcontact.data
will be transported. Additionally, the transport interface reservescontact.transport
property for internal use.The behavior, when transported, of properties used by the example arbiters, such as
contact.vectorClock
orcontact.workerNodes
is undefined.It would not do to simply add these properties into
contact.data
, because the user might not give a crap that vector clocks or other magic are being used.One approach would be to require the transport interface to guarantee that
contact.arbiter
property is transported and standardize around the arbiters using that much in the same way that transports standardize around usingcontact.transport
. This approach allows the user to only care aboutcontact.id
andcontact.data
, while not preventing arbiters to rewritecontact.data
based on information incontact.arbiter
.The text was updated successfully, but these errors were encountered: