PHPackages                             bangerkuwranger/magento2-gtid-safe-url-rewrite-fallback - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. bangerkuwranger/magento2-gtid-safe-url-rewrite-fallback

ActiveMagento2-module

bangerkuwranger/magento2-gtid-safe-url-rewrite-fallback
=======================================================

Magento 2 module that forces the category save/update observers to fall back to a (deprecated) method that doesn't require temporary tables. This allows GTID consistent category saves for Magento v2.1.x

1.0.1(7y ago)0463MITPHPPHP ~5.5.0|~5.6.0|~7.0.0

Since Oct 4Pushed 7y ago2 watchersCompare

[ Source](https://github.com/bangerkuwranger/Magento-2-GTID-Safe-URL-Rewrites-Fallback)[ Packagist](https://packagist.org/packages/bangerkuwranger/magento2-gtid-safe-url-rewrite-fallback)[ RSS](/packages/bangerkuwranger-magento2-gtid-safe-url-rewrite-fallback/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (10)Versions (3)Used By (0)

Magento 2 GTID Safe URL Rewrite Fallback
========================================

[](#magento-2-gtid-safe-url-rewrite-fallback)

Magento 2 module that forces the category save/update observers to fall back to a method that doesn't require temporary tables. This allows GTID consistent category saves, at the expense of some performance.

Why?
----

[](#why)

Well, Magento 2 appears to have a much higher development priority on overall application performance than it does on scalable deployment, especially in cloud environments. This module is a quick workaround for a particular issue in many cloud environments that require binary safe transactions and GTID consistent transactions... usually MySQL compatible managed databases with some sort of replication for better availability and failover. Since early versions of Magento 2.1.x, the way category rewrites were rebuilt was changed to make it more efficient; unfortunately, it did so by using temporary tables, which violates GTID consistency, and will cause the 'Something went wrong while saving this category' error if a change was made to the url key, 'is\_anchor', or to the product list when saving a category.

This module is a quick workaround that forces Magento to fall back to a (currently deprecated) method that does not use temporary table or violate GTID consistency... thus solving the problem forever... ;-p

A more permanent solution involving permanent tables is in the works, but this should fix the issue for anyone who needs to save their Magento categories RIGHT NOW! :-D

Installation
------------

[](#installation)

Installation is available via composer. The package name is bangerkuwranger/magento2-gtid-safe-url-rewrite-fallback. Just run these commands at your Magento root:

`composer require bangerkuwranger/magento2-gtid-safe-url-rewrite-fallback`

`php bin/magento module:enable Bangerkuwranger_GtidSafeUrlRewriteFallback`

`php bin/magento setup:upgrade`

`php bin/magento setup:di:compile`

`php bin/magento cache:flush`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

2778d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/854f3c149da70ca3f31efaeb189016eb8b83386ca06a68e825496c7e610d4513?d=identicon)[bangerkuwranger](/maintainers/bangerkuwranger)

---

Top Contributors

[![bangerkuwranger](https://avatars.githubusercontent.com/u/2318848?v=4)](https://github.com/bangerkuwranger "bangerkuwranger (22 commits)")

### Embed Badge

![Health badge](/badges/bangerkuwranger-magento2-gtid-safe-url-rewrite-fallback/health.svg)

```
[![Health](https://phpackages.com/badges/bangerkuwranger-magento2-gtid-safe-url-rewrite-fallback/health.svg)](https://phpackages.com/packages/bangerkuwranger-magento2-gtid-safe-url-rewrite-fallback)
```

###  Alternatives

[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[swissup/module-search-mysql-legacy

Legacy mysql search for magento 2.4

10483.0k](/packages/swissup-module-search-mysql-legacy)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

119.1k](/packages/opengento-module-category-import-export)[loki/magento2-admin-components

N/A

151.6k5](/packages/loki-magento2-admin-components)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
