Help Center/ GaussDB/ Developer Guide(Distributed_V2.0-8.x)/ SQL Reference/ Functions and Operators/ Fault Injection System Function
Updated on 2025-08-19 GMT+08:00
Fault Injection System Function
gs_fault_inject(int64, text, text, text, text, text)
Description: Specifies a function that cannot be called. The WARNING message 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
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.