Re: Code which sends INSERT command to corresponding node

2016-06-11 Thread Jonathan Ellis
You're looking in the right place. UpdateStatement extends ModificationStatement, and MS.execute calls into StorageProxy.mutate which is what does the partitioning and routing. On Sat, Jun 11, 2016 at 2:30 PM, Mahdi Mohammadi wrote: > Hi, > > When an INSERT command is received in a coordinator

Code which sends INSERT command to corresponding node

2016-06-11 Thread Mahdi Mohammadi
Hi, When an INSERT command is received in a coordinator node, it uses a partitioner to find out the node which is responsible for storing that row. It then sends the command to that node to be further processed and stored locally. I am looking for the place in the code which does the above. I tri