Mario Kevo created GEODE-10267:
----------------------------------
Summary: Create parallel gw sender with non-existent disk store
does not fail
Key: GEODE-10267
URL: https://issues.apache.org/jira/browse/GEODE-10267
Project: Geode
Issue Type: Bug
Components: gfsh
Affects Versions: 1.14.4
Reporter: Mario Kevo
While creating a parallel gw sender with a non-existing disk store, the command
passed successfully but shouldn't.
{code:java}
gfsh>create gateway-sender --id=ln --remote-distributed-system-id=2
--parallel=true --disk-store-name=nonExistingDiskStore
Member | Status | Message
------- | ------ | ---------------------------------------
server1 | OK | GatewaySender "ln" created on "server1"
server2 | OK | GatewaySender "ln" created on "server2"
Cluster configuration for group 'cluster' is updated.
gfsh>list disk-stores
No Disk Stores Found
{code}
For the serial gw sender, it throws that disk-store is not found as expected.
{code:java}
gfsh>create gateway-sender --id=ln-serial --remote-distributed-system-id=2
--parallel=false --disk-store-name=nonExistingDiskStore
Member | Status | Message
------- | ------ |
---------------------------------------------------------------------------
server1 | ERROR | java.lang.IllegalStateException: Disk store
nonExistingDiskStore not found
server2 | ERROR | java.lang.IllegalStateException: Disk store
nonExistingDiskStore not found
{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)