mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #36756
[Bug 1606749] [NEW] Inconsistent file quota usage
Public bug reported:
Mahara: 16.04.2
DB: Postgres
OS: Linux
Browser: various
File quota calculations are not syncing correctly for file upload when
using multiple devices at the same time.
This lets users surpass their quota by using different computers at the
same time.
I've also been able to replicate it by uploading multiple files at once.
The usr.quotaused field doesn't get correctly accumulated after each
file as it gets overwritten by the other file getting loaded. Perhaps a
transaction is required?
The cron job at the end of the day calculates the quota correctly but by
then, the user has uploaded many times more than their quota
For example, we were getting numbers such as 244% of their 500MB quota.
** Affects: mahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1606749
Title:
Inconsistent file quota usage
Status in Mahara:
New
Bug description:
Mahara: 16.04.2
DB: Postgres
OS: Linux
Browser: various
File quota calculations are not syncing correctly for file upload when
using multiple devices at the same time.
This lets users surpass their quota by using different computers at
the same time.
I've also been able to replicate it by uploading multiple files at
once. The usr.quotaused field doesn't get correctly accumulated after
each file as it gets overwritten by the other file getting loaded.
Perhaps a transaction is required?
The cron job at the end of the day calculates the quota correctly but
by then, the user has uploaded many times more than their quota
For example, we were getting numbers such as 244% of their 500MB
quota.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1606749/+subscriptions
Follow ups