Storage engine and mode switching method, device, program product and storage medium

CN122924926APending Publication Date: 2026-10-16ALIBABA CLOUD COMPUTING CO LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202510421150.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2026-10-16

AI Technical Summary

Benefits of technology

[0015] In this embodiment, the storage engine is designed with two modes: in normal mode, the main thread of the storage engine executes the recycling subtasks of the partition recycling task; and in offload mode, the main thread submits some of the recycling subtasks to the auxiliary thread of the storage engine for execution. Furthermore, the storage engine is designed to switch modes. Specifically, when it is determined that the storage engine needs to switch modes, it can switch from the current mode to the desired mode based on the desired mode and the current mode of the storage engine. Thus, this embodiment's method can ensure the stable operation of the storage engine when a new offload mode is introduced, through the mode switching function. For example, this embodiment can revert from the offload mode to the original normal mode to prevent instability in the new mode; or, it can switch from the storage engine running in normal mode to the offload mode as needed, thereby improving the processing efficiency of foreground read/write tasks in the new offload mode. Therefore, this embodiment of the solution designs two modes of storage engine and mode switching, so that the storage engine can improve the processing efficiency of foreground read and write tasks through new functions, or fall back to the original normal mode if problems occur after the introduction of new functions, thus ensuring the stable operation of the storage engine.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present specification provides a storage engine and a mode switching method, device, program product and storage medium, the method is applied to the storage engine, the storage engine is used for accessing a partition-based namespace storage, the storage includes at least one partition;The mode of the storage engine includes: normal mode and offload mode;In the normal mode, the main thread of the storage engine executes a recovery subtask in a partition recovery task;In the offload mode, the main thread submits part of the executed recovery subtask to the auxiliary thread of the storage engine for execution;The method comprises: in response to determining that the storage engine currently needs to switch modes, obtaining a desired mode currently expected to be switched;Obtain the current mode of the storage engine;If it is determined that the current mode is different from the desired mode, switch from the current mode to the desired mode.
Need to check novelty before this filing date? Find Prior Art