Patent ID: 9621409
Date: 2017-04-11
CPC Classifications: G06F,H04L

Claim:
1. A method for handling data partition transfer events in a distributed data grid comprising a first cluster node storing first plurality of data partitions and a second cluster node storing a second plurality of data partitions, said method comprising: initiating a partition transfer event on said first cluster node for transferring a first data partition of said first plurality of data partitions from said first cluster node to said second cluster node; handling said partition transfer event on a first service thread executing on said first cluster node in the distributed data grid; packaging said data partition transfer event on said first service thread as a continuation data structure including a partition transfer task; using a first worker thread executing on said first cluster node to pick up the continuation data structure and execute said partition transfer task to accomplish synchronous handling of said partition transfer task without blocking the first service thread; posting a response from the first worker thread to the first service thread indicating completion of said partition transfer task; and in response to receiving said response from the first worker thread, sending a partition transfer request from the first service thread on said first cluster node to a second service thread on said second cluster node.