gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-522) Fix the issue in PUT method of Aerospike
Date Sun, 20 Aug 2017 14:38:00 GMT

    [ https://issues.apache.org/jira/browse/GORA-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134451#comment-16134451
] 

ASF GitHub Bot commented on GORA-522:
-------------------------------------

GitHub user nishadi opened a pull request:

    https://github.com/apache/gora/pull/118

    GORA-522 Fix the put method in aerospike module

    This PR contains changes to update the Put method.
    Currently if the key is already existing, the whole record is deleted before adding the
new record. This behavior results removing the needed fields, if the new addition only updates
certain fields. With this fix, it deletes the record only if certain fields are removed with
the new update.  

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nishadi/gora gora-522

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/gora/pull/118.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #118
    
----
commit bebc7a8a524e19739f6128437bab06212a35e75b
Author: nishadi <ndimeshi@gmail.com>
Date:   2017-08-20T14:32:27Z

    Fix the put method to delete the existing records only if certain fields have been removed

----


> Fix the issue in PUT method of Aerospike
> ----------------------------------------
>
>                 Key: GORA-522
>                 URL: https://issues.apache.org/jira/browse/GORA-522
>             Project: Apache Gora
>          Issue Type: Bug
>            Reporter: Nishadi Kirielle
>            Assignee: Nishadi Kirielle
>
> Currently, in the put method if the record is already existing in the data store, it
directly deletes the whole record and adds the new record. In this way if only a single filed
is updated, the existing data is lost. So this needs to be corrected. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message