Skip to main content

Resynchronization

Overview

Resynchronization (resync) is the process of updating cobby's internal cache with structural changes from the Magento database. It rebuilds the metadata index that cobby uses to map Magento attributes, storeviews, and attribute sets to Excel columns.

Purpose

Resynchronization is required when Magento's structural configuration changes in ways that affect cobby's data schema. It does not sync product data—only the structure definition.

Synchronization Triggers

Change TypeRequires ResyncReason
New attribute createdYescobby must register new column
Attribute deletedYescobby must remove column mapping
Attribute moved within groupYesColumn order changes
Attribute type changedYesData type mapping changes
Attribute scope changedYesStoreview column structure changes

Attribute Set Changes

Change TypeRequires ResyncReason
New attribute set createdYescobby must create new worksheet structure
Attribute set deletedYescobby must remove worksheet mapping
Attributes added/removed from setYesColumn structure changes for that set
Attribute group renamedYesSection headers change

Store Structure Changes

Change TypeRequires ResyncReason
New storeview addedYesNew translation columns required
Storeview deletedYescobby must remove storeview columns
Store or website added/deletedYesHierarchy structure changes
Storeview code changedYesColumn header mapping changes

Direct Database Changes

Change TypeRequires ResyncReason
Manual database importYesBypasses Magento's indexing triggers
Direct SQL updates to eav_attributeYesAttribute schema changes not cached
Direct SQL updates to store tablesYesStore structure changes not cached
Change TypeRequires ResyncReason
Extension adds custom attributesYesNew columns registered outside Magento model
Extension modifies EAV structureYesSchema changes not detected by cobby
Extension changes inventory sourcesDependsOnly if extension affects cobby-visible attributes

Configuration Changes

Change TypeRequires ResyncReason
Stock settings changed in cobby configYesInventory column structure may change
Base URL changedYescobby portal connection requires revalidation
Installation or update of cobby extensionYesVersion-specific schema updates

What Does NOT Require Resync

  • Product data changes (name, price, description, etc.)
  • Inventory quantity updates
  • Category assignments
  • Product status changes
  • Media/image updates
  • Product relations (upsells, cross-sells)
  • Customer data changes

Note: Product data syncs automatically through cobby's standard Excel synchronization process.

Resync Process

Initiation

Location: cobby Portal → Settings → Manage shop → "Resync" button

Access Required: cobby Portal login credentials (app.cobby.io)

Technical Process

  1. cobby fetches current Magento EAV structure
  2. Rebuilds attribute-to-column mapping
  3. Updates storeview hierarchy cache
  4. Regenerates attribute set worksheets
  5. Validates data type mappings
  6. Clears local Excel cache

Duration

  • Small catalogs (less than 1,000 products): 10-30 seconds
  • Medium catalogs (1,000-10,000 products): 30-90 seconds
  • Large catalogs (more than 10,000 products): 1-5 minutes

Factors Affecting Duration:

  • Number of attributes
  • Number of attribute sets
  • Number of storeviews
  • Server response time

Effect on Active Excel Sessions

ScenarioBehaviorRecommended Action
Excel open during resyncNo immediate effectClose and reopen Excel to see structural changes
Unsaved changes in ExcelNo data lossComplete edits before closing
Mid-upload during resyncUpload completes normallyStructural changes appear after next load

Validation

After resync, verify the following in Excel:

  • New attributes appear as columns
  • Deleted attributes removed from worksheets
  • Storeview columns match current Magento storeviews
  • Attribute sets match Magento configuration
  • Column order reflects attribute group positions
  • How-To Guides:

    • How to Perform a Resynchronization (coming soon)
    • How to Verify Resync Success (coming soon)
  • Explanation:

    • Understanding cobby's Data Synchronization Model (coming soon)

Technical Notes

  • Resync is idempotent (safe to run multiple times)
  • Does not modify Magento data
  • Does not affect product visibility or availability
  • Can be performed while shop is live
  • No downtime required
  • Recommended after major Magento upgrades or structural changes