[ 
https://issues.apache.org/jira/browse/GEODE-6779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880462#comment-16880462
 ] 

Jens Deppe commented on GEODE-6779:
-----------------------------------

I think there's something else going on here. This particular test does the 
following:
- Create disk store
- List disk store
- Create a region using the disk store

This is what the log looks like:
{noformat}
[vm0] [warn 2019/07/02 17:49:20.150 GMT <RMI TCP Connection(9)-172.17.0.21> 
tid=0x90] Unable to retrieve Disk Store ObjectName for member: server-1, 
diskstore: DISKSTORE - server-1 is an invalid member name or Id. Current 
members are [GemFire:type=Member,member=locator-0]

Command result for <create disk-store --name=DISKSTORE --dir=DISKSTORE 
--group=GROUP1 --auto-compact=false --compaction-threshold=99 
--max-oplog-size=1 --allow-force-compaction=true>: 
 Member  | Status | Message
-------- | ------ | ----------------------------
server-1 | OK     | Created disk store DISKSTORE

Cluster configuration for group 'GROUP1' is updated.


[vm0] [info 2019/07/02 17:49:20.347 GMT <RMI TCP Connection(9)-172.17.0.21> 
tid=0x90] Executing command: list disk-stores

Command result for <list disk-stores>: 
Member Name |              Member Id              | Disk Store Name | Disk 
Store ID
----------- | ----------------------------------- | --------------- | 
------------------------------------
server-1    | 172.17.0.21(server-1:158)<v1>:41002 | DISKSTORE       | 
8b506f9b-ff4b-4bfd-8bab-b92abc5104bc


[vm0] [info 2019/07/02 17:49:20.443 GMT <RMI TCP Connection(9)-172.17.0.21> 
tid=0x90] Executing command: create region --name=REGION1 
--type=REPLICATE_PERSISTENT --disk-store=DISKSTORE --group=GROUP1 
--eviction-action=overflow-to-disk

Command result for <create region --name=REGION1 --type=REPLICATE_PERSISTENT 
--disk-store=DISKSTORE --group=GROUP1 --eviction-action=overflow-to-disk>: 
Specify valid disk-store. Unknown Disk Store : "DISKSTORE".
{noformat}

Two indicators that the {{create disk-store}} succeeded are: 1) It did not 
produce a message like {{Did not complete waiting for Disk Store MBean proxy 
creation}} and 2) the subsequent {{list disk-store}} command succeeded.

Something else is going on here.

> Create disk-store command should only return when DistributedSystemMXBean 
> reflects creation status
> --------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6779
>                 URL: https://issues.apache.org/jira/browse/GEODE-6779
>             Project: Geode
>          Issue Type: Improvement
>          Components: gfsh
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Once fixed, we can remove 
> {{MemberVM.waitUntilDiskStoreIsReadyOnExactlyThisManyServers}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to