primary key is node + thread