Table schema cache and schema change event use different table names, the later with user_ prefix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MagnetoDB |
Fix Released
|
Medium
|
Charles Wang |
Bug Description
The schema change event reflects the real table name (with user_ prefix) while the table schema cache uses the table name without user_ prefix.
def schema_
tenant = event.get(
table_name = event.get('table')
if (tenant is None) or (table_name is None):
return
if event['
Should be changed to:
def schema_
tenant = event.get(
table_name = event.get(
if (tenant is None) or (table_name is None):
return
if event['
Changed in magnetodb: | |
assignee: | nobody → Charles Wang (charles-wang) |
Changed in magnetodb: | |
milestone: | none → 2.0.5 |
importance: | Undecided → Medium |
Changed in magnetodb: | |
status: | Fix Committed → Fix Released |
Charles, is this bug out of date after storage level refactoring for async tables? Because now schema change listener was removed at all