[CALCITE-5009] Transparent JDBC connection re-creation may lead to data loss

CALCITE-903 has introduced a transaprent reconnection feature, which will open
a new server-side connection in case it is expired from the server side connection
cache.

While this is convinient for most read-only analytical workload, this
can cause a number a problems, including data loss for transactional connections.

This patch disables the transparent reconnect feature by default, and adds the
transparent_reconnection property, which re-enables it when set to true.
5 files changed
tree: 1591f186d29f5e8deee0551acb749ff136833da5
  1. .github/
  2. bom/
  3. core/
  4. docker/
  5. gradle/
  6. metrics/
  7. metrics-dropwizardmetrics/
  8. noop-driver/
  9. release/
  10. server/
  11. shaded/
  12. site/
  13. src/
  14. standalone-server/
  15. tck/
  16. .editorconfig
  17. .gitattributes
  18. .gitignore
  19. .ratignore
  20. .travis.yml
  21. build.gradle.kts
  22. docker-compose.yml
  23. docker.sh
  24. gradle.properties
  25. gradlew
  26. gradlew.bat
  27. LICENSE
  28. NOTICE
  29. README
  30. README.md
  31. settings.gradle.kts
README.md

Build Status CI Status

Apache Calcite -- Avatica

Apache Calcite's Avatica is a framework for building database drivers.

Avatica is a sub-project of Apache Calcite.

For more details, see the home page.

Release notes for all published versions are available on the history page.