See CBD-4623.
JCBC-1922 NOT_STORED when inserting a document needs to be handled as DocAlreadyExists
KCBC-67 NOT_STORED when inserting a document needs to be handled as DocAlreadyExists