-
Notifications
You must be signed in to change notification settings - Fork 81
gdbReadWriteSplittingPlugin does not support Global Write Forwarding #1801
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
with restrictWriterToHomeRegion=true the plugin throws writerNotInHomeRegion exception and blocks connect attempt
with restrictWriterToHomeRegion=false it attempts to connect to the writer in another region and times out, which is not possible in our setup (regions are isolated, and GWF is enabled)
Expected Behavior
plugin should support GWF and allow connections to go to the reader nodes in passive region
What plugins are used? What other connection properties were set?
gdbReadWriteSplittingPlugin,gdbFailover,iam,efm2,auroraConnectionTracekr,initialConnection
Current Behavior
see description
Reproduction Steps
enable GWF and disable cross regional traffic
Possible Solution
additional property, perhaps allowGlobalWriteForwarding=true which tells the plugin to connect to local readers if the region is passive
Additional Information/Context
No response
The AWS Advanced JDBC Wrapper version used
3.2.0
JDK version used
21
Operating System and version
unix
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working