zhangmeng916 commented on pull request #1411:
URL: https://github.com/apache/helix/pull/1411#issuecomment-699563372


   > ZNRecord rec = new ZNRecord(_currentStateDelta.getId());
   >  rec.getMapFields().put(partitionKey, null);
   >  ZNRecordDelta delta = new ZNRecordDelta(rec, MergeOperation.SUBTRACT);
   > 
   >  List<ZNRecordDelta> deltaList = new ArrayList<ZNRecordDelta>();
   >  deltaList.add(delta);
   >  _currentStateDelta.setDeltaList(deltaList);
   
   @jiajunwang Thanks for the suggestion. Yeah, this works. I looked at this 
part too, but didn't realize that we can move it to customized state provider. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to