Skip to content

IndexedDB Race Condition (High Priority) #712

@theangchen

Description

@theangchen
  • Location: src/index.jsx:17, src/utils/dataLoader.js:300-423

  • Problem: Only vessels and gear object stores are being created despite 8 collections defined in schema

  • Root Cause: Radfish framework's addSchema() method has asynchronous operation sequencing issues when adding multiple collections concurrently

  • Impact: Application fails to load species, discardConditions, areaCodes, dealers, ports, and inactiveFisheries data

  • Evidence:

    • From investigation: IndexedDBConnector.addSchema() doesn't properly await
    • Database version increments before schema is fully created
    • Subsequent collections fail silently after 2-3 successful additions`

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions