Vladislav Pyatkov created IGNITE-22043:
------------------------------------------

             Summary: Remove assignment from Meta storage
                 Key: IGNITE-22043
                 URL: https://issues.apache.org/jira/browse/IGNITE-22043
             Project: Ignite
          Issue Type: Bug
            Reporter: Vladislav Pyatkov


h3. Motivation
When the assignments moved from the table to the zone description, we just 
removed a code that was removing the assignment from Meta storage.
{code}
Set<ByteArray> assignmentKeys = IntStream.range(0, partitions)
        .mapToObj(p -> stablePartAssignmentsKey(new TablePartitionId(tableId, 
p)))
        .collect(toSet());
metaStorageMgr.removeAll(assignmentKeys);
{code}
Of course, this is incorrect because the assignment is stored indefinitely now.

h3. Definition of don
Restoring the code when a zone is deleted.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to