Doubtful documentation of NodeInfo.Attribute #75

Open
opened 2025-12-28 18:12:25 +00:00 by sami · 0 comments
Owner

Originally created by @cthulhu-rider on GitHub (Jun 7, 2022).

From netmap.NodeInfo.Attribute docs:

  // A string representation of the chain of attributes in NeoFS Storage
  // Node configuration uses ":" and "/" symbols, e.g.:
  //
  //        `NEOFS_NODE_ATTRIBUTE_1=key1:val1/key2:val2`
  //
  // Therefore the string attribute representation in the Node configuration must
  // use "\:", "\/" and "\\" escaped symbols if any of them appears in an attribute's
  // key or value.

The structure of the node attribute message provides needed feature of attribute inheritance. Mentioned doc part describes some sort of string interpretation for the particular storage node configuration. Do we need it in the protocol description? This seems like an implementation-dependent statements.

Originally created by @cthulhu-rider on GitHub (Jun 7, 2022). From `netmap.NodeInfo.Attribute` docs: ``` // A string representation of the chain of attributes in NeoFS Storage // Node configuration uses ":" and "/" symbols, e.g.: // // `NEOFS_NODE_ATTRIBUTE_1=key1:val1/key2:val2` // // Therefore the string attribute representation in the Node configuration must // use "\:", "\/" and "\\" escaped symbols if any of them appears in an attribute's // key or value. ``` The structure of the node attribute message provides needed feature of attribute inheritance. Mentioned doc part describes some sort of string interpretation for the particular storage node configuration. Do we need it in the protocol description? This seems like an implementation-dependent statements.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-api#75
No description provided.