Consider historic invocations in list-subjects
command #1518
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1518
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
Sometimes we need to get information about already removed subject.
Describe the solution you'd like
Consider adding new flag to
frostfs-adm morph frostfsid list-subjects
that performs historic invocation from specific block, e.g.--at-block 1234
.In combination with
--include-name
admin may consider block from the past when user existed and find OwnerID by user name.Describe alternatives you've considered
To solve the issue, admin may try list all containers, fetch all unique OwnerIDs and find the one which is not presented in FrostFS ID contract, eliminating one by one, without additional changes.
Additional context
None
Aside from the case, historic invocation for all read operations from smart-contract would be a great addition to frostfs-adm tool, in my opinion.
I believe all our neo-go configurations do store the latest MPT only.
We might support this on the contract level, though (like deletion markers for containers).
However, after #1511 we might implement it for local dump scenarios.
I suggest having this flag for every command that may invoke something.
NewHistoricInvokerAtHeight
should be created using this flag and no other code should be changed.