Skip to content

WebAPI products are not removed from Elasticsearch #30282

Open
@magento-engcom-team

Description

@magento-engcom-team

In WebAPI testing, I saw that products were being added to elasticsearch but never removed. I'm unsure if this is normal. Many products are being deleted but some are not. This causing a slow increase in Elasticsearch memory usage. I specifically looked at GraphQL.

<2020-07-06T18:09:13,718][INFO ][o.e.c.m.MetaDataCreateIndexService] [139ed5ecd08c] [magento2*product_8*v2] creating index, cause [api], templates [], shards [1]/[1], mappings []

[2020-07-06T18:09:13,809][INFO ][o.e.c.m.MetaDataMappingService] [139ed5ecd08c] [magento2*product_8_v2/IwEuwlSSQCCfAf7K5Qq-RA] create*mapping [document]

[2020-07-06T18:09:14,220][INFO ][o.e.c.m.MetaDataDeleteIndexService] [139ed5ecd08c] [magento2*product_8*v2/IwEuwlSSQCCfAf7K5Qq-RA] deleting index

[2020-07-06T18:09:14,270][INFO ][o.e.c.m.MetaDataCreateIndexService] [139ed5ecd08c] [magento2*product_8*v2] creating index, cause [api], templates [], shards [1]/[1], mappings []

[2020-07-06T18:09:14,366][INFO ][o.e.c.m.MetaDataMappingService] [139ed5ecd08c] [magento2*product_8_v2/AJNQ5MhrQKev8HiQWS3GDA] create*mapping [document]

[2020-07-06T18:09:15,596][INFO ][o.e.c.m.MetaDataMappingService] [139ed5ecd08c] [magento2*product_8_v2/AJNQ5MhrQKev8HiQWS3GDA] update*mapping [document]

[2020-07-06T18:09:16,649][INFO ][o.e.c.m.MetaDataMappingService] [139ed5ecd08c] [magento2*product_8_v2/AJNQ5MhrQKev8HiQWS3GDA] update*mapping [document>

yellow open magento2*product_8*v2 AJNQ5MhrQKev8HiQWS3GDA 1 1 0 0 71.8kb 71.8kb

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: APIsCDIssue recommended for the contribution dayComponent: OtherIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions