MerginMaps / MerginMaps/mobile

Mobile app creates many conflicting copies and inflates project size

Open
#4,583 0 comments 0 reactions 1 assignee View on GitHub

@uclaros is already working on this.

Since Jul 16, 2026.

bug
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

### Description

The mobile app is creating many conflicting copies on tracking layer of files during normal use in the production environment.

From the logs, we discovered that the database is being locked. This may be related to file locking or concurrent access on mobile. The following issue could be relevant for the investigation/fix: MerginMaps/mobile#4577, which proposes enabling WAL mode for GeoPackages to help with "Database is locked" problems.

The exact workflow that leads to these conflicting copies is currently unknown. The customer has been asked to provide more details about how they use the app, which may help identify the reproduction steps.

### Environment

PROD

### Current behavior

Many conflicting copies of files are created while the customer is using the mobile app. Logs indicate that the database is being locked.

This causes the project size to grow significantly, so far in the range of approximately 10–20x the expected size.

### Expected behavior

The mobile app should handle file access/sync in a way that does not create conflicting copies during normal use and does not cause the project size to grow unexpectedly.

### Additional information

- Exact reproduction steps are not known yet.
- Customer was asked to provide more information about their workflow.
- Logs can be provided by me: @xkello.
- The related Odoo ticket can also be provided if needed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.