[jira] [Commented] (OFBIZ-10008) Add mechanism to prevent the usage of EntitySyncRemove

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10008) Add mechanism to prevent the usage of EntitySyncRemove

Nicolas Malin (Jira)

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

ASF subversion and git services commented on OFBIZ-10008:
---------------------------------------------------------

Commit 4d689bdfb439170fa4460c21273bb4e6c90318f7 in ofbiz-framework's branch refs/heads/release18.12 from Deepak Dixit
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4d689bd ]

Fixed: Corrected property name as defined in general.properties
(OFBIZ-10008)


> 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: Deepak Dixit
>            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
(v8.3.4#803005)