This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
v1.4.10_Production
yanokwa
released this
27 Mar 21:58
·
653 commits
to master
since this release
Aggregate v1.4.10
(July 2016)
- on AppEngine, add advisory memcache interactions inside database mutex implementation (TaskLockImpl) to detect and thereby reduce race conditions that could lead to database corruption. These changes do not alter the fundamental mutex mechanism. They may reduce the likelihood of a mutex failure.
- fix ODK 2.0 sync: table-specific pre-loaded instance attachments under
config/assets/csv/tableid/instances/...
were not being identified as table-specific. - fix ODK 2.0 sync: add mutex around app-level file, table-level file and row-level attachment REST interactions. Eliminates the possibility of joint-updating that could corrupt the app-, table- or row-level manifests.
- fix ODK 2.0 sync: change row-level file attachment bulk-update to not refetch the manifest after adding each file attachment. This had caused 1% failure rate on row-level attachment syncing when there were large numbers of file attachments (30-60) for each row.
- fix ODK 2.0 sync: when authorization fails (permission denied), return UNAUTHORIZED response rather than DENIED. This reports an authorization failure on the client vs. a protocol error.
Upgrading
- For MySQL installations, please make sure you have this server configuration:
character_set_server=utf8
collation_server=utf8_unicode_ci
max_allowed_packet=1073741824
- For ODK 1.x uses, no special upgrade steps are required.
- The ODK 2.0 sync protocol is compatible with the ODK 2.0 Rev 200, 202 and 204 tools.
- For ODK 2.0 uses, if you have pre-loaded datasets (via tables.init) that have row-level attachments (e.g., geotagger example dataset), you should:
1. remove these incorrectly-categorized files from the server (anything underassets/csv/table_id/instances/...
on theManage App Level Files
sub-tab)
1. deploy your device configuration to a clean device
1.Reset App Server
to correctly upload these files so that they appear under theManage Table Level Files
sub-tab.