Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6494

JdbcLoader, JdbcWriter, JdbcAsyncWriter instances should fail if added to more than one region

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • extensions
    • None

    Description

      The current implementation of JdbcLoader, JdbcWriter, JdbcAsyncWriter  uses an internal SqlHandler instance that is tied to a single region. But if you add the same JdbcLoader/Writer/AsyncWriter to multiple regions then the single SqlHandler will only know about the region the first operation (i.e. get/put/destroy) was done on.

      SqlHandler read and write methods should have a check to detect if they are being used on some other region and throw a Jdbc exception saying that they can only be used on a single region.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            dschneider Darrel Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: