Hi all:
       There are three steps in the current DeleteStorageGroup process, there 
are three steps that need to go through.
       1. Delete partition informations on the PartitionRegion
       2. Delete metadata informations on schemaRegion based on the partition 
information and clean up the cache
       3. Delete the data files and directories on dataRegion based on the 
partition information
       I/O operations in step 3 may take a long time and is prone to 
exceptions, which is prone to deletion failures.
       Here is a logical deletion plan instead of deleting data files directly. 
The deletion is divided into logical and physical deletions, the logical 
deletion simply screens the read and write operations related to storage group, 
and the physical deletion deletes files and is executed asynchronously.This 
simplifies the operation of deleting RPCs and reduce the probability of 
timeouts and exceptions and is able to rollback when exceptions occur.
        Detail Chinese doc is attached. Any idea is welcomed. 


FYI
----
Lu Ming
      

Reply via email to