frostfsid: Remove old data on update #95

Merged
fyrchik merged 2 commits from fyrchik/frostfs-contract:fix-frostfsid-update into support/v0.19 2024-09-04 19:51:18 +00:00
Owner
No description provided.
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")
Member

Should we also delete notary key and o prefix?

Should we also delete `notary` key and `o` prefix?
Author
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.
Member

I don't see we explicitly deleted such key #50/files

Or we just didn't set it?

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?
Author
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 project
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
No description provided.