Local or cloud db sync gets stuck in in-progress state

Local or cloud db sync gets stuck in in-progress state

Note:      This KB is specific for the sync issue with the below log traces.

Log traces:

[13:58:01:141]|[12-03-2019]|[SYSERR]|[INFO]|[118]: 
ERROROCCURED,'NOSESSIONID',13,'CLOUDDB_IMP_SCHEDULE_DETAILS',400,1575381481000,-1,'SCHEDULE_MORE_THAN_ALLOWED_COUNT',108,'','','','Sorry_ upload process failed for the table. Only 5 simultaneous uploads are allowed on the same table. Kindly try after sometime.','-NA-','-','10.15.33.107','10.15.33.107_sas','-Not Provided-','-Error Code not 500-','NONE'
OtherDetails:[]
com.adventnet.zoho.db.common.ZDBException: SCHEDULE_MORE_THAN_ALLOWED_COUNT
at com.adventnet.zoho.db.batchimport.DataUploadHandler.<init>(DataUploadHandler.java:174)
at com.adventnet.zoho.db.batchimport.DataUploadHandler.<init>(DataUploadHandler.java:164)
at com.adventnet.zoho.db.clouddb.ZRCloudDBAPI$WriteData$2.executeCode(ZRCloudDBAPI.java:2889)

Analysis:

The zdbimportsyncstatus table contains the sync details of tables. The entries in the table did not clear and accumulated to the limit of 5.

The entries in 'zdbimportsyncstatus' will be deleted once the sync is completed or the sync time exceeds the threshold time. Any occurrence of connection interruption or abrupt shutdown during the import, this can happen.




Note:
Viewid is the objid of the table.



Troubleshooting:

1.      Connect to the database
2.      Execute the below commands,

To clear the entries from zdbimportsyncstatus table
Delete from zdbimportsyncstatus where syncstatus in (0,1) and  viewid=<objid of the table>

To update the sync status from in-progress and inqueue to failed
update ZRCloudDBSyncDetails set SYNCSTATUS='2' where SYNCSTATUS in (0,1) and objid=<objid of the table>

INQUEUE state = 0 (Sync started for the table, but is in queue)
INPROGRESS state = 1 (Sync is in progress)

3.      Initiate the sync.





    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                    Manage your brands on social media

                                      Zoho Desk Resources

                                      • Desk Community Learning Series


                                      • Digest


                                      • Functions


                                      • Meetups


                                      • Kbase


                                      • Resources


                                      • Glossary


                                      • Desk Marketplace


                                      • MVP Corner


                                      • Word of the Day


                                        Zoho Marketing Automation

                                          Zoho Sheet Resources

                                           

                                              Zoho Forms Resources


                                                Secure your business
                                                communication with Zoho Mail


                                                Mail on the move with
                                                Zoho Mail mobile application

                                                  Stay on top of your schedule
                                                  at all times


                                                  Carry your calendar with you
                                                  Anytime, anywhere




                                                        Zoho Sign Resources

                                                          Sign, Paperless!

                                                          Sign and send business documents on the go!

                                                          Get Started Now




                                                                  Zoho TeamInbox Resources



                                                                          Zoho DataPrep Resources



                                                                            Zoho DataPrep Demo

                                                                            Get a personalized demo or POC

                                                                            REGISTER NOW


                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now







                                                                                            You are currently viewing the help articles of Sprints 1.0. If you are a user of 2.0, please refer here.

                                                                                            You are currently viewing the help articles of Sprints 2.0. If you are a user of 1.0, please refer here.



                                                                                                  • Related Articles

                                                                                                  • Sync getting stuck in In-progress state

                                                                                                    Issue:  Sync getting stuck in In-progress state. Usually, when the data type mismatch is present, this issue occurs. Logs required: <Zoho/Analytics>/pgsql/data/pg_log/ Check for the error trace by searching "ERROR:  invalid input syntax for" Sample ...
                                                                                                  • How to enable Progress OpenEdge DB connection

                                                                                                    Steps to include Progress OpenEdge DB in our local DB import list: 1. Download and install OpenEdge JDBC driver from https://www.progress.com/jdbc/openedge in Analytics installed server. (It is a paid driver. No free drivers are available) 2. From ...
                                                                                                  • Import data from Rackspace Cloud Maria DB

                                                                                                    If you have your data stored in Rackspace Cloud Maria DB, you can easily import the data into Zoho Analytics or connect live with the Rackspace Cloud Maria DB server for advanced reporting and analysis.  Data Import: Data from your cloud database ...
                                                                                                  • Data sync issue - Live connect

                                                                                                    Issue: The data level changes and row addition at the DB level is not getting updated in Zoho Analytics Onpremise even after performing "Sync Design" from data source. Analysis: Tried to remove the table from the data source and re-add it again, the ...
                                                                                                  • Import data from Microsoft Azure Maria DB

                                                                                                    If you have your data stored in Microsoft Azure Maria DB Cloud Database, then you can easily import your data into Zoho Analytics for reporting & analysis. You can also set up schedules to fetch the latest data from your Microsoft Azure Maria DB ...
                                                                                                    Wherever you are is as good as
                                                                                                    your workplace

                                                                                                      Resources

                                                                                                      Videos

                                                                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                      eBooks

                                                                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                      Webinars

                                                                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                      CRM Tips

                                                                                                      Make the most of Zoho CRM with these useful tips.



                                                                                                        Zoho Show Resources