frostfsid: Remove old data on update #95

Merged
fyrchik merged 2 commits from fyrchik/frostfs-contract:fix-frostfsid-update into support/v0.19 2024-06-04 10:54:27 +00:00
There is no content yet.
fyrchik added 2 commits 2024-06-04 08:31:08 +00:00
7f474a9b96 frostfsid: Remove outdated data on update
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
DCO action / DCO (pull_request) Failing after 1m14s Details
Tests / Tests (1.20) (pull_request) Failing after 1m48s Details
Tests / Tests (1.19) (pull_request) Failing after 2m35s Details
37f8b49b22
Release v0.19.3
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
fyrchik force-pushed fix-frostfsid-update from 37f8b49b22 to 05a7545d93 2024-06-04 08:31:26 +00:00 Compare
fyrchik requested review from storage-core-committers 2024-06-04 08:31:27 +00:00
fyrchik requested review from storage-core-developers 2024-06-04 08:31:28 +00:00
fyrchik requested review from storage-services-committers 2024-06-04 08:31:29 +00:00
fyrchik requested review from storage-services-developers 2024-06-04 08:31:29 +00:00
dkirillov reviewed 2024-06-04 08:34:30 +00:00
@ -75,1 +75,4 @@
if isUpdate {
storage.Delete(ctx, "netmapScriptHash")
storage.Delete(ctx, "containerScriptHash")
Collaborator

Should we also delete notary key and o prefix?

Should we also delete `notary` key and `o` prefix?
Poster
Owner

I believe notary was actually removed during the previous update (see support/v0.18 branch)
Added o prefix removal.

I believe `notary` was actually removed during the previous update (see support/v0.18 branch) Added `o` prefix removal.
Collaborator
I don't see we explicitly deleted such key https://git.frostfs.info/TrueCloudLab/frostfs-contract/pulls/50/files#diff-0854a7a4bf47e1957519dccfa5d54a2c5c8d08ee Or we just didn't set it?
Poster
Owner

common.RmAndCheckNotaryDisabledKey(data, notaryDisabledKey) -- this line was present in the previous release.

`common.RmAndCheckNotaryDisabledKey(data, notaryDisabledKey)` -- this line was present in the previous release.
dkirillov marked this conversation as resolved
fyrchik force-pushed fix-frostfsid-update from 05a7545d93 to fec6e23c58 2024-06-04 08:35:12 +00:00 Compare
fyrchik force-pushed fix-frostfsid-update from fec6e23c58 to b4ad90507e 2024-06-04 08:40:43 +00:00 Compare
alexvanin approved these changes 2024-06-04 08:45:49 +00:00
elebedeva approved these changes 2024-06-04 08:47:57 +00:00
achuprov approved these changes 2024-06-04 08:57:25 +00:00
acid-ant approved these changes 2024-06-04 09:00:59 +00:00
dkirillov approved these changes 2024-06-04 09:31:28 +00:00
fyrchik merged commit b4ad90507e into support/v0.19 2024-06-04 10:54:27 +00:00
fyrchik deleted branch fix-frostfsid-update 2024-06-04 10:54:28 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-developers
No Milestone
No Assignees
6 Participants
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: TrueCloudLab/frostfs-contract#95
There is no content yet.