×

Facilitating handling of crashes in concurrent execution environments of server systems while processing user queries for data retrieval

  • US 9,852,172 B2
  • Filed: 01/19/2015
  • Issued: 12/26/2017
  • Est. Priority Date: 09/17/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method performed in a server system, said method comprising:

  • receiving a user query from a client system;

    forming physical queries from said user query, each physical query for retrieving a portion of data required to form response to said user query;

    executing each of said physical queries in a corresponding concurrent execution entity of a plurality of execution entities to receive the respective portions of said data;

    generating a response to said user query based on said respective portions if there is no occurrence of a crash during said executing;

    sending said response to said client system if there is no occurrence of a crash during said executing;

    during said executing, logging status of activities initiated for execution of the respective physical query in each concurrent execution entity to a log storage, wherein said status indicates whether performance of any of said activities is not completed, wherein said logging comprises;

    maintaining a respective stack for each concurrent execution entity such that a first stack is maintained for a first concurrent execution entity of said plurality of execution entities;

    adding a corresponding entry to said first stack upon initiation of each activity in said first concurrent execution entity, wherein each entry maintains a state information related to the corresponding activity, wherein said first stack includes a first entry corresponding to a first activity and a second entry corresponding to a second activity; and

    removing said second entry from said first stack upon completion of said corresponding second activity,wherein unremoved entries in said first stack at said time instance correspond to the not yet completed activities in said first concurrent execution entity as of said time instance;

    receiving an indication of occurrence of a crash of said first execution entity at a time instance during said executing; and

    in response to said indication, providing content of each entry in said first stack to an administrator for debugging purpose as status with respect to activities not yet completed in said first execution entity until said time instance.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×