Bug #71894 MysqlFabric remove_definitions command return success for wrong input parameters
Submitted: 28 Feb 2014 23:05 Modified: 3 Mar 2014 8:26
Reporter: Andres Eduardo Sanchez Rodriguez Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Fabric Severity:S3 (Non-critical)
Version:1.4.0 OS:Linux
Assigned to: CPU Architecture:Any

[28 Feb 2014 23:05] Andres Eduardo Sanchez Rodriguez
Description:
Remove_definitions command return success for wrong input parameters.

How to repeat:
When try out of bound values command return true for out of index shard mapping ids
-bash-4.1$ mysqlfabric sharding remove_definition 2
Procedure :
{ uuid        = 010df2a3-b6c8-44d1-ade5-02a364b6d14d,
  finished    = True,
  success     = True,
  return      = True,
  activities  =
}
-bash-4.1$ mysqlfabric sharding remove_definition 3
Procedure :
{ uuid        = b573c591-bece-402d-8c36-8522f26252d5,
  finished    = True,
  success     = True,
  return      = True,
  activities  =
}

-bash-4.1$ mysqlfabric sharding remove_definition 10000
Procedure :
{ uuid        = 0c2886f5-f2a8-49d9-b301-a4f411230a47,
  finished    = True,
  success     = True,
  return      = True,
  activities  =
}

Suggested fix:
It should prompt an error.
[3 Mar 2014 8:26] Mats Kindahl
Thank you for the bug report. Verified as described.
[6 Jul 2017 19:19] Bugs System
Status updated to 'Won't fix' (Fabric is now covered under Oracle Lifetime Sustaining Support)