Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Remove non-transactional mutation from KeyValueStore #500

Merged
merged 1 commit into from
Jan 2, 2019

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Jan 2, 2019

PR description

put() and remove() are currently available on the KeyValueStorage interface
as non-transactional calls. These are used nowhere other than test
code; all our production write calls are to the transactional interface.

  • Remove the non-transactional mutation APIs from the interface
  • Update the tests to use transactional writes
  • Update getStartTransaction to just be startTransaction since it is
    not a property but a method.

Put and remove are currently available on the KeyValueStorage interface
as non-transactional calls.  These are used nowhere other than test
code, all our production write calls are to the transactional interface.

* Remove the non-transactional mutation APIs from the interface
* Update the tests to use transactional writes
* Update getStartTransaction to just be startTransaction since it is
  not a property but a method.
@shemnon shemnon requested a review from mbaxter January 2, 2019 19:44
@shemnon shemnon merged commit d6f85ab into PegaSysEng:master Jan 2, 2019
@shemnon shemnon deleted the db branch January 25, 2019 21:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants