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.





    Access your files securely from anywhere

      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





                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            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









                                                                                                              • 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 ...
                                                                                                              • 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 ...
                                                                                                              • Import from Local Databases

                                                                                                                Zoho Analytics allows you to import data stored in different local databases such as MySQL, SQL Server, etc for advanced reporting and analysis. You can easily setup data import from these local databases using the simple setup wizard. Click here to ...
                                                                                                                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