A method, device, system and readable storage medium for stopping osd service

A technology of storage media and instructions, applied in the field of stopping OSD services, can solve problems affecting users, stopping programs that cannot run normally, poor experience, etc., and achieve the effect of improving user experience

Active Publication Date: 2021-08-10
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the stop program is executed in response to the instruction to stop the OSD service to stop the OSD service, occasionally the stop program exits abnormally, causing the destructor to report an error and generate a core file, which makes the stop program unable to run normally, thus affecting the normal use of users. OSD service brings poor user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method, device, system and readable storage medium for stopping osd service
  • A method, device, system and readable storage medium for stopping osd service
  • A method, device, system and readable storage medium for stopping osd service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0035] The purpose of the present invention is to provide a method, device, system and readable storage medium for stopping OSD service, which can avoid generating core files when stopping OSD service, so as to improve user experience.

[0036] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below in conjunction with the ac...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for stopping OSD service. Firstly, it judges whether an instruction for stopping OSD service is received, and if so, responds to the instruction for stopping OSD service, and ignores assertion in the process of responding to the instruction. And because the assertion is ignored in the process of responding to the command to stop the OSD service, even if the reference count of the shutdown command is not zero and the condition returns an error in the process of responding to the command to stop the OSD service, the program to stop the OSD service will not It will be terminated, which can effectively avoid the abnormal exit of the program that stops the OSD service, and the generation of the core file due to the error of the destructor, so as to prevent the normal use of the OSD from affecting the user and improve the user experience. In addition, the present invention also discloses a device, system and computer-readable storage medium for stopping OSD service, and the effect is as above.

Description

technical field [0001] The invention relates to the field of computer and storage, in particular to a method, device, system and readable storage medium for stopping OSD service. Background technique [0002] The OSDMap mechanism is a very important part of the Ceph architecture. Together with the CRUSH algorithm, it forms the cornerstone of the Ceph distributed architecture. The distribution and monitoring of PGs on the object storage device (OSD) is performed by the OSDMap mechanism. [0003] In the entire OSDMap mechanism, OSD fully trusts the monitor (Monitor), and believes that the OSDMap data maintained by the Monitor is absolutely correct, and all actions taken by the OSD on PGs are based on the OSDMap data, which means that the Monitor directs OSD how to distribute PGs. However, when the stop program is executed in response to the instruction to stop the OSD service to stop the OSD service, occasionally the stop program exits abnormally, causing the destructor to rep...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityPatents(China)
IPC IPC(8): G06F11/30G06F11/07
CPCG06F11/0727G06F11/3034
Inventor张露露
OwnerZHENGZHOU YUNHAI INFORMATION TECH CO LTD