Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-26419

Use a different pool for DataNucleus' secondary connection factory

    XMLWordPrintableJSON

Details

    Description

      Quote from DataNucleus documentation:

      The secondary connection factory is used for schema generation, and for value generation operations (unless specified to use primary).

      We should not use same connection pool for DataNucleus' primary and secondary connection factory. An awful situation is that each thread holds one connection and request for another connection for value generation, but no connection is available in the pool. It will keep retrying and fail at the end.

      Attachments

        Issue Links

          Activity

            People

              hsnusonic Yu-Wen Lai
              hsnusonic Yu-Wen Lai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m