Method, device and system for stopping OSD (Object Storage Device) service, and readable storage medium

A technology for storage media and instructions, applied in the field of stopping OSD services, can solve problems such as poor experience, affecting users, and stopping programs that cannot run normally.

Active Publication Date: 2018-11-02
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
  • Method, device and system for stopping OSD (Object Storage Device) service, and readable storage medium
  • Method, device and system for stopping OSD (Object Storage Device) service, and readable storage medium
  • Method, device and system for stopping OSD (Object Storage Device) service, and readable storage medium

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 (Object Storage Device) service. Firstly, whether an instruction for stopping the OSD service is received or not is judged; if the instruction for stopping the OSD service is received, affirmation is ignored in a process that the instruction is responded; and since the affirmation is ignored in a process that the instruction for stopping the OSD service is responded, even if a condition returning error is caused since the reference counting of a shutdown instruction is not zero in the process that the instruction for stopping the OSD service isresponded, an OSD stopping program is not stopped, therefore, the OSD stopping program can be effectively prevented from abnormally exiting, a destructor reports an error to generate a core file situation, a purpose that the normal use of the OSD by the user is prevented from being affected is achieved, and user experience is improved. In addition, the invention also discloses a device and a system for stopping OSD service, and a computer readable storage medium, and also has the above effects.

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
IPC IPC(8): G06F11/30G06F11/07
CPCG06F11/0727G06F11/3034
Inventor张露露
OwnerZHENGZHOU YUNHAI INFORMATION TECH CO LTD