Alter cluster console command hangs (Customer=38)
v1.7 (OS=Windows)
Steps (from command line console): orientdb {platform}> create cluster monday physical orientdb {platform}> alter cluster monday name tuesday
The command never returns. Hitting Ctrl-C on either the console window or the server window does not shut them down. Have to physically close the window.
@robgratz I've tried the case on fresh db in plocal and remote modes but issue was not reproduced. Could you provide any additional information that may help?
Here is the console session. The alter cluster command never returns. I’ve attached the DB I created and used for this test.
OrientDB console v.1.7 (build UNKNOWN_BRANCH@r??????; 2014-05-27 08:36:37-0500) www.orientechnologies.com Type 'help' to display all the commands supported. Installing extensions for GREMLIN language v.2.5.0
orientdb> connect remote:localhost/platform admin admin
Connecting to database [remote:localhost/platform] with user 'admin'...OK orientdb {platform}> info
Current database: platform (url=remote:localhost/platform)
Cluster configuration: { }
DATABASE PROPERTIES: --------------------------------+----------------------------------------------------+ NAME | VALUE | --------------------------------+----------------------------------------------------+ Name | null | Version | 9 | Date format | yyyy-MM-dd | Datetime format | yyyy-MM-dd HH:mm:ss | Timezone | America/Chicago | Locale Country | US | Locale Language | en | Charset | UTF-8 | Schema RID | #0:1 | Index Manager RID | #0:2 | Dictionary RID | null | --------------------------------+----------------------------------------------------+
CLUSTERS: ----------------------------------------------+-------+---------------------+---------+-----------------+ NAME | ID | TYPE | DATASEG | RECORDS | ----------------------------------------------+-------+---------------------+---------+-----------------+ default | 3 | PHYSICAL | -1 | 0 | index | 1 | PHYSICAL | -1 | 2 | internal | 0 | PHYSICAL | -1 | 3 | manindex | 2 | PHYSICAL | -1 | 1 | ofunction | 7 | PHYSICAL | -1 | 0 | orids | 6 | PHYSICAL | -1 | 0 | orole | 4 | PHYSICAL | -1 | 3 | oschedule | 8 | PHYSICAL | -1 | 0 | ouser | 5 | PHYSICAL | -1 | 3 | ----------------------------------------------+-------+---------------------+---------+-----------------+ TOTAL = 9 | | 12 | ----------------------------------------------------------------------------+---------+-----------------+
CLASSES: ----------------------------------------------+------------------------------------+------------+----------------+ NAME | SUPERCLASS | CLUSTERS | RECORDS | ----------------------------------------------+------------------------------------+------------+----------------+ OFunction | | 7 | 0 | OIdentity | | - | 6 | ORestricted | | - | 0 | ORIDs | | 6 | 0 | ORole | OIdentity | 4 | 3 | OSchedule | | 8 | 0 | OTriggered | | - | 0 | OUser | OIdentity | 5 | 3 | ----------------------------------------------+------------------------------------+------------+----------------+ TOTAL = 8 12 | ----------------------------------------------+------------------------------------+------------+----------------+
INDEXES: ----------------------------------------------+------------+-----------------------+----------------+------------+ NAME | TYPE | CLASS | FIELDS | RECORDS | ----------------------------------------------+------------+-----------------------+----------------+------------+ dictionary | DICTIONARY | | | 0 | ORole.name | UNIQUE | ORole | name | 3 | OUser.name | UNIQUE | OUser | name | 3 | ----------------------------------------------+------------+-----------------------+----------------+------------+ TOTAL = 3 6 | -----------------------------------------------------------------------------------------------------------------+ orientdb {platform}> create cluster monday physical
Cluster created correctly with id #9
orientdb {platform}> alter cluster monday name tuesday
From: Artem Orobets [mailto:[email protected]] Sent: Wednesday, May 28, 2014 1:24 AM To: orientechnologies/orientdb Cc: Robbin L. Gratz Subject: Re: [orientdb] Alter cluster console command hangs (Customer=38) (#2394)
@robgratzhttps://github.com/robgratz I've tried the case on fresh db in plocal and remote modes but issue was not reproduced. Could you provide any additional information that may help?
— Reply to this email directly or view it on GitHubhttps://github.com/orientechnologies/orientdb/issues/2394#issuecomment-44369837.
A duplication of https://github.com/orientechnologies/orientdb/issues/1979