ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Malin (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10008) Add mechanism to prevent the usage of EntitySyncRemove
Date Thu, 05 Sep 2019 16:49:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-10008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16923605#comment-16923605

Nicolas Malin commented on OFBIZ-10008:

I completed this improvement with a little miss at 1866480 for trunk and 1866479 for 18.12

> Add mechanism to prevent the usage of EntitySyncRemove
> ------------------------------------------------------
>                 Key: OFBIZ-10008
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10008
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Chandan Khandelwal
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: 18.12.01
>         Attachments: OFBIZ-10008.patch
> No configurations is available to disable usage of EntitySyncRemove. And it's creating
problems when having a large database and frequent delete operations.
> saveEntitySyncRemoveInfo is used to create EntitySyncRemove records in GenericDelegator.removeValue()
and removeByPrimaryKey().
> The idea is to add a mechanism to prevent the usage of EntitySyncRemove by adding a property
in general.properties file used to configure in entityengine.xml 
> Tenants should be considered, OFBIZ-10468 has been created for that.
> Also I wondered if the test/filter should be part of saveEntitySyncRemoveInfo() (comment
"don't store remove info on entities where it is disabled") but it would be diluted and is
more appropriate at a higher level.

This message was sent by Atlassian Jira

View raw message