[#13] *: Rename __FROSTFS__ prefix to __SYSTEM__

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
Denis Kirillov 2023-03-15 12:50:43 +03:00
parent 8009022a20
commit 9dc3753467
5 changed files with 20 additions and 6 deletions

View file

@ -1,7 +1,7 @@
package session
// ReservedXHeaderPrefix is a prefix of keys to "well-known" X-headers.
const ReservedXHeaderPrefix = "__FROSTFS__"
const ReservedXHeaderPrefix = "__SYSTEM__"
const (
// XHeaderNetmapEpoch is a key to the reserved X-header that specifies netmap epoch
@ -16,16 +16,19 @@ const (
)
// ReservedXHeaderPrefixNeoFS is a prefix of keys to "well-known" X-headers.
// Deprecated: use ReservedXHeaderPrefix
const ReservedXHeaderPrefixNeoFS = "__NEOFS__"
const (
// XHeaderNetmapEpochNeoFS is a key to the reserved X-header that specifies netmap epoch
// to use for object placement calculation. If set to '0' or not set, the current
// epoch only will be used.
// Deprecated: use XHeaderNetmapEpoch
XHeaderNetmapEpochNeoFS = ReservedXHeaderPrefixNeoFS + "NETMAP_EPOCH"
// XHeaderNetmapLookupDepthNeoFS is a key to the reserved X-header that limits
// how many past epochs back the node will can lookup. If set to '0' or not
// set, the current epoch only will be used.
// Deprecated: use XHeaderNetmapLookupDepth
XHeaderNetmapLookupDepthNeoFS = ReservedXHeaderPrefixNeoFS + "NETMAP_LOOKUP_DEPTH"
)