Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.5.3, 2.7.4, 2.8.2, 2.9
-
Component/s: Logging, Web Services
-
Testing Instructions:
-
Affected Branches:MOODLE_25_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
Fixed Branches:MOODLE_27_STABLE, MOODLE_28_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
There is a race condition in user_lastaccess updates. Two insert attempts can be made at the one time. This is not usually an issue as a single user is not operating on the same course at the same time when it's not been accessed before.
However with webservices, it's possible to have two calls to a new course and they bump into each other.
Attachments
Issue Links
- has a non-specific relationship to
-
MDLSITE-1915 Moodle.org availability problems - September 2012
-
- Closed
-
-
MDL-35257 Guess last access record is being updated when autologged in.. can lead to contention
-
- Closed
-
- is a regression caused by
-
MDL-18293 do not check return value from isert_record and update_record and cleanup unused error messages replaced by new DML exceptions
-
- Closed
-
- will be (partly) resolved by
-
MDL-46064 Drop support for MyISAM for 2.9
-
- Closed
-