Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6209

Database connections lost during data import

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Workaround
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      OS: Windows 7
      RAM: 8 GB

      Description

      Follow the steps to generate the error:
      1. Configure the large amount of data (around 4 GB or more than 50 millions of records)

      2. Give proper data-config.xml file for indexing the data from remote database server.

      3. During indexing the data into solr from SQL SERVER 2010, at the half way unplug the network cable and see the status in solr.
      e.g.
      localhost:8083/solr/core1/dataimport?command=status
      or
      localhost:8083/solr/core1/dataimport

      4. Pass few seconds then again plug back the cable.

      5. You can clearly see that there is just only "Time Elapsed" parameter increase. "Total Rows Fetched" & "Total Documents Processed" remains same for infinite time.

      6. You can regenerate this for small data also.

      7. Work around is you need to restart the solr. (But this is not good solution)

      Note:
      This is very important issue because, so many organizations not using this valuable products just because of the this database infinite connection issue.
      Solution can be: Forcefully abort the data indexing or provide mechanism for forcefully abort the indexing.

      Hope you guys knows that abort command is also not working.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sanket.thakkar007 SANKET
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30h
                30h
                Remaining:
                Remaining Estimate - 30h
                30h
                Logged:
                Time Spent - Not Specified
                Not Specified