From bc984312cd482b100b523533250d5d5b3485f741 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 26 Feb 2024 20:54:42 +0400 Subject: [PATCH] object: Make notification attributes as deprecated Notification attributes turned out to be unusable. Nobody uses them, so they are deprecated. Closes #279. Signed-off-by: Leonard Lyubich --- CHANGELOG.md | 1 + object/types.proto | 6 ++++-- proto-docs/object.md | 6 ++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f45bd16..fa08003 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ ### Removed ### Deprecated +- Object attributes `__NEOFS__TICK_EPOCH` and `__NEOFS__TICK_TOPIC` (#279) ## [2.15.0] - 2024-01-30 diff --git a/object/types.proto b/object/types.proto index 46d33e7..f8ef23d 100644 --- a/object/types.proto +++ b/object/types.proto @@ -139,9 +139,11 @@ message Header { // Decimal number that defines what epoch must produce // object notification with UTF-8 object address in a // body (`0` value produces notification right after - // object put) + // object put). + // DEPRECATED: attribute ignored by servers. // * __NEOFS__TICK_TOPIC \ - // UTF-8 string topic ID that is used for object notification + // UTF-8 string topic ID that is used for object notification. + // DEPRECATED: attribute ignored by servers. // // And some well-known attributes used by applications only: // diff --git a/proto-docs/object.md b/proto-docs/object.md index 9ee7d17..49e8293 100644 --- a/proto-docs/object.md +++ b/proto-docs/object.md @@ -907,9 +907,11 @@ that affect system behaviour: Decimal number that defines what epoch must produce object notification with UTF-8 object address in a body (`0` value produces notification right after - object put) + object put). + DEPRECATED: attribute ignored by servers. * __NEOFS__TICK_TOPIC \ - UTF-8 string topic ID that is used for object notification + UTF-8 string topic ID that is used for object notification. + DEPRECATED: attribute ignored by servers. And some well-known attributes used by applications only: