Database node functional testing
AssigneeInternational Business Machines Corporation
InventorsMurali Krishna Surampalli, Anoop G.M. Ramachandra
Life of this patent
Estimating the term…
Abstract
An example operation may include one or more of receiving a database storage request at a decentralized database, executing an operation of the database storage request at a database node based on chaincode to generate a simulated result without committing the database storage request to the decentralized database, determining whether the chaincode of the database node is valid via a functional testing that is performed based on an output of the execution of the database storage request, and, in response to determining the chaincode is valid, endorsing the database storage request for storage at the decentralized database and transmitting the endorsement to one or more database nodes of the decentralized database.
Claims20
A computing system comprising:
- a network interface configured to receive a database storage request at a database node of a decentralized database;
- and
- a processor configured to execute an operation of the database storage request at the database node based on chaincode to generate a simulated result without a storage of the database storage request at the decentralized database, and determine whether the chaincode of the database node is valid via a functional test that is performed based on an output of the execution of the database storage request,
- wherein, in response to a determination that the chaincode is valid, the processor is further configured to endorse the database storage request for storage at the decentralized database and control the network interface to transmit the endorsement to one or more database nodes of the decentralized database.
A method comprising:
- receiving a database storage request at a decentralized database;
- executing an operation of the database storage request at a database node based on chaincode to generate a simulated result without committing the database storage request to the decentralized database;
- determining whether the chaincode of the database node is valid via a functional testing that is performed based on an output of the execution of the database storage request;
- and
- in response to determining the chaincode is valid, endorsing the database storage request for storage at the decentralized database and transmitting the endorsement to one or more database nodes of the decentralized database.
A non-transitory computer readable medium comprising instructions, that when read by a processor, cause the processor to perform:
- receiving a database storage request at a decentralized database;
- executing an operation of the database storage request at a database node based on chaincode to generate a simulated result without committing the database storage request to the decentralized database;
- determining whether the chaincode of the database node is valid via a functional testing that is performed based on an output of the execution of the database storage request;
- and
- in response to determining the chaincode is valid, endorsing the database storage request for storage at the decentralized database and transmitting the endorsement to one or more database nodes of the decentralized database.
Dependencies are inferred from the claim text.