Im following the suggestion in https://wiki.hybris.com/pages/viewpage.action?spaceKey=hybrisALF&title=Catalog+Synchronization to use 'readyForSync' attribute on Products that I want to sync, I assigned this SearchRestriction to a dedicated sync user and run SyncJob with this dedicated user. Everything is working as expected!
The issue comes when add or remove a product to a Category. Consider this case:
CategoryA has two products assigned, one is ready for sync and the other one IS NOT ready to sync. And the category is already synchronized.
Assign a new product that is ready to sync to this CategoryA.
Perform a Sync job.
Results: The Category is being sync because I added a new product to it (as expected), but Category online is removing the product that is readyForSync=0 in Stage. Seems that Category sync is doing a comparison between Stage and Online applying the same SearchRestriction in both, as Stage is getting two products that are readyForSync=1 and Online is getting three products that are readyForSync=1, then the extra product is removed, which is a not desired behaviour.
Im thinking to add a SearchRestriction to Category to only Sync when the catalogversion=Stage ignoring Online.
Do you guys faced this issue before? Any recommendations?