You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (Closed) (JIRA)" <ji...@apache.org> on 2012/04/06 22:25:22 UTC
[jira] [Closed] (GORA-12) Semantics of DataStore.delete*
[ https://issues.apache.org/jira/browse/GORA-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney closed GORA-12.
------------------------------------
Bulk close of issues. Preparation for Gora 0.2 release candidate.
> Semantics of DataStore.delete*
> ------------------------------
>
> Key: GORA-12
> URL: https://issues.apache.org/jira/browse/GORA-12
> Project: Apache Gora
> Issue Type: Bug
> Components: storage
> Reporter: Andrzej Bialecki
> Assignee: Chris A. Mattmann
> Fix For: 0.2
>
> Attachments: GORA-12.patch
>
>
> Behavior of delete* calls in DataStore is insufficiently defined. Some unit tests in DataStoreUtil seem to indicate that after a successful call to delete the subsequent queries should not return deleted items. Other tests indicate that an additional DataStore.flush() call is needed.
> If we could rely on the latter assumption this would allow for some important optimizations in the implementations of DataStore - bulk updates that are visible only after an update transaction is finished are usually much less expensive to perform than equivalent multiple item by item transactions.
> Therefore I propose to strengthen the meaning of delete* calls, so that their effects are guaranteed to be visible to get/execute ONLY after a subsequent flush() call.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira