You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/06/13 07:54:00 UTC
[jira] [Commented] (GEODE-10267) Create gw sender with non-existent disk store does not fail
[ https://issues.apache.org/jira/browse/GEODE-10267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17553427#comment-17553427 ]
ASF subversion and git services commented on GEODE-10267:
---------------------------------------------------------
Commit d7ff22cd18bb3e08a73035e950e6e5523ff99bec in geode's branch refs/heads/develop from Mario Kevo
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d7ff22cd18 ]
GEODE-10267: fix creating gw sender with non-existent disk store (#7643)
* GEODE-10267: fix creating gw sender with non-existent disk store
> Create 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
> Assignee: Mario Kevo
> Priority: Major
> Labels: pull-request-available
>
> 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}
> But after the above command for the serial gw sender is failed, execute list gateways and got that the serial gw sender is created.
> {code:java}
> gfsh>list gateways
> GatewaySender Section
> GatewaySender Id | Member | Remote Cluster Id | Type | Status | Queued Events | Receiver Location
> ---------------- | -------------------------------------- | ----------------- | ------ | ----------- | ------------- | -----------------
> ln2 | 192.168.0.145(server1:10868)<v1>:41001 | 2 | Serial | Not Running | 0 |
> ln2 | 192.168.0.145(server2:10963)<v2>:41002 | 2 | Serial | Not Running | 0 |
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)