Not syncronizingโฆ Any problem?
Can you help me to understand @praveen @Ryan_Bundt_AppSheet? This is the AUDIT record:
Properties:
{
โOperationโ: โAdd rowโ,
โAppTemplateNameโ: โMiClubv3-326606โ,
โTableNameโ: โComandasDetalleโ,
โtzOffsetโ: โ240โ,
โsettingsโ: โ{โ_RowNumber":โ0โ,"_EMAIL":โguestโ,"_NAME":โGuestโ,"_LOCATION":"",โCodigoClubโ:โUhdZ1MIg9msypzcRโ,โUsuarioโ:โkZD7Hzj9โ,โPINโ:โ54321โ,โCountry Optionโ:"",โLanguage Optionโ:"",โOption 5โ:"",โOption 6โ:"",โOption 7โ:"",โOption 8โ:"",โOption 9โ:"","_THISUSER":โonlyvalueโ}",
โapiLevelโ: โ2โ,
โisPreviewโ: โfalseโ,
โcheckCacheโ: โtrueโ,
โlocaleโ: โes-BOโ,
โlocationโ: โ-16.496996, -68.134763โ,
โappTemplateVersionโ: โ1.001131โ,
โlocalVersionโ: โ1.001131โ,
โtimestampโ: โ2017-12-28T14:36:45.028Zโ,
โrequestStartTimeโ: โ2017-12-28T16:23:51.598Zโ,
โlastSyncTimeโ: โ2017-12-28T14:13:23.2439178Zโ,
โappStartTimeโ: โ2017-12-28T16:18:08.568Zโ,
โdataStampโ: โ2017-12-28T14:13:23.2439178Zโ,
โclientIdโ: โc077e6ab-fb3b-47a7-90e7-84f9c483af30โ,
โbuildโ: โ8e139494a7d23f60fa73-1514334023995-e52fe597fโ,
โrequestIdโ: โ34650083โ,
โPerformanceโ: โ{โVersionโ:1,โTimeโ:โ00:03:01.6457058โ,โPerformanceTimingRootโ:{โMidโ:1,โParamsโ:{โParamListโ:[{โPidโ:13,โValueโ:โComandasDetalleโ}]},โTimerโ:{โTimeโ:โ00:03:01.6457058โ},โChildrenโ:[{โMidโ:3,โTimerโ:{โTimeโ:โ00:03:01.6442071โ},โChildrenโ:[{โMidโ:100,โTimerโ:{โTimeโ:โ00:03:01.5813698โ},โChildrenโ:[{โMidโ:108,โTimerโ:{โTimeโ:โ00:03:01.5813671โ},โChildrenโ:[{โMidโ:62,โTimerโ:{โTimeโ:โ00:00:00.5680761โ}},{โMidโ:101,โTimerโ:{โTimeโ:โ00:03:01.0131852โ},โChildrenโ:[{โMidโ:23,โTimerโ:{โTimeโ:โ00:00:00.0461324โ},โChildrenโ:[{โMidโ:28,โTimerโ:{โTimeโ:โ00:00:00.0461270โ},โChildrenโ:[{โMidโ:30,โTimerโ:{โTimeโ:โ00:00:00.0358838โ}},{โMidโ:29,โTimerโ:{โTimeโ:โ00:00:00.0050748โ}}]}]},{โMidโ:21,โTimerโ:{โTimeโ:โ00:03:00.9664560โ},โChildrenโ:[{โMidโ:25,โTimerโ:{โTimeโ:โ00:03:00.9638061โ}}]}]}]}]}]}]}}โ,
โReturnedFromCacheโ: false,
โDisconnectDetectedโ: false,
โResultโ: โFailureโ,
โResultErrorโ: โUnable to add/edit/delete row in table โComandasDetalleโ. โ Unable to obtain concurrency control lock for provider โgoogleโ source โDocId=1ZIcTJVxkxqeexEer5smTJiSvGRCqXDAqWsbzvolKK84โ.โ,
โResultExceptionโ: "Jeenee.DataTypes.SpreadsheetException: Unable to obtain concurrency control lock for provider โgoogleโ source โDocId=1ZIcTJVxkxqeexEer5smTJiSvGRCqXDAqWsbzvolKK84โ.\r\n
at Nirvana.Data.DataLayer.AppendTableRows(Context context, Op op, String appTemplateName, Int32 ownerId, AppTemplate appTemplate, AppTable appTable, List1 colTypes, List
1 keyPositions) in q:\git\Jeenee\V2API\DataLayer\DataAccess.cs:line 260\r\n
at Nirvana.Internal.InternalAPI.AddTableRowInternal(Context context, Op op, Int32 userId, AppTemplate appTemplate, AppTable thisDataSet, ItemSchema thisSchema) in q:\git\Jeenee\V2API\InternalAPI\AddDeleteUpdate.cs:line 382\r\n
at Nirvana.Internal.InternalAPI.PerformOperation(Context context, Op op, Int32 userId, String appTemplateName, String tableName, String appTemplateVersion, Boolean& success, String& errorMessage, Exception& errorException, Boolean forceVersion, UpdateModeEnum requiredUpdateMode, RowOperation rowOperation) in q:\git\Jeenee\V2API\InternalAPI\AddDeleteUpdate.cs:line 275",
โRecordTypeโ: โStopโ }
@Fernando_Lopez Iโm adding @Harry to assist.
Thanks.
@Fernando_Lopez Hi Fernando, this error occurs when there are a large number of users making changes to the app at the same time. This is because only a single operation can be applied to the appโs Google sheets at a time. Normally, since each operation takes a very short time, multiple operations can be quickly processed in succession. However, if a large number of requests are sent at the same time, the error will occur.
Our records indicated that so far there have been more than 600 app operations in your app today. About 300 came from your account. The other 300 came from anonymous users (app users who didnโt sign in). A large number of these operations occurred at around the same time, which led to the error that you saw.
To fix this problem, I suggest that you ask your users to avoid using the app all at the same time. If your users run into this error, you can instruct them to wait for a few minutes before trying to sync again.
If I use MySQL database instead of Google sheets, Does it run faster? And support concurrent operations? And many concurrent users?
@Fernando_Lopez Yes, a traditional database such as MySQL or SQLServer is designed to support multiple concurrent requests. Based on your appโs current usage, I believe a free MySQL database on Google or Amazon RDS should be more than enough to meet your needs.
@Harry I was not able to find a free MySQL service on google. Can you kindly provide a link to more information please?
@Christian_Farley2 I apologize, it seems my information is not up-to-date. Currently thereโs no longer any free tier in Google Cloud SQL. Instead, you can still try the free tier in Amazon RDS. However, please note that this might change in the future.
aws.amazon.com - Amazon RDS Free Tier โ Amazon Web Services (AWS) Amazon RDS Free Tier โ Amazon Web Services (AWS) aws.amazon.com
User | Count |
---|---|
15 | |
14 | |
8 | |
7 | |
4 |