Help Center/
GaussDB/
Developer Guide(Centralized_8.x)/
SQL Reference/
Functions and Operators/
Fault Injection System Function
Updated on 2024-06-03 GMT+08:00
Fault Injection System Function
- gs_fault_inject(int64, text, text, text, text, text)
Description: This function cannot be called. WARNING information "unsupported fault injection" is reported when this function is called, which does not affect or change the database.
Parameter: fault injection of the int64 type (0: CLOG extended page; 1: CLOG page reading; 2: forcible deadlock)- If the first input parameter of text is set to 2 and the second input parameter of text is set to 1, the second input parameter deadlock occurs. Other input parameters are not deadlocked. When the first input parameter is 0 or 1, the second input parameter indicates the number of the start page from which the CLOG starts to be extended or read.
- The third input parameter of text indicates the number of extended or read pages when the first input parameter is 0 or 1.
- The fourth to sixth input parameters of text are reserved.
Return type: int64
Parent topic: Functions and Operators
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot