HomeMogDBMogDB StackUqbar
v2.1

Documentation:v2.1

Supported Versions:

Other Versions:

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

Copyright © 2011-2024 www.enmotech.com All rights reserved.