From notifications-return-28292-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Thu Sep 5 17:00:13 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6424F180675 for ; Thu, 5 Sep 2019 19:00:13 +0200 (CEST) Received: (qmail 12184 invoked by uid 500); 6 Sep 2019 01:40:10 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 12112 invoked by uid 99); 6 Sep 2019 01:40:10 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2019 01:40:10 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BF111E2F61 for ; Thu, 5 Sep 2019 17:00:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 771EC7808D9 for ; Thu, 5 Sep 2019 17:00:00 +0000 (UTC) Date: Thu, 5 Sep 2019 17:00:00 +0000 (UTC) From: "Jacques Le Roux (Jira)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-10008) Add mechanism to prevent the usage of EntitySyncRemove MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-10008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16923613#comment-16923613 ] Jacques Le Roux commented on OFBIZ-10008: ----------------------------------------- Thanks Nicolas! > 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 (v8.3.2#803003)