+1, we should provide the user with the full details about what happened when there was at least one failure. Following this line of thought, and considering the cluster configuration service, what should the commands do when the operation fails on at least one member?. Persist the changes no matter what?, don't persist the changes?, it depends on the operation (create region vs create index)?, add a new flag to *gfsh* and let the user decide?. Cheers.
On Tue, Oct 31, 2017 at 2:59 PM, Jens Deppe <jensde...@apache.org> wrote: > Hi, > > I've noticed that various commands, that execute on multiple members, > return either tabulated results (one line per member - for example > CreateRegionCommand) or a single pass/fail line. In the latter case it’s > possible that information would get lost. For example if a command fails on > multiple members (but not all) then the user would not have complete > insight into where the failure occurred. > > I'd like to propose that if a command executes on multiple members it > should always return and display all the results. Alternatively, if the > command succeeds then it should simply indicate success, however if it > fails (even partially) it should return a full list of each member and the > result of the command on each of the members. > > Thoughts; comments? > > --Jens > -- Juan José Ramos Cassella Senior Technical Support Engineer Email: jra...@pivotal.io Office#: +353 21 4238611 Mobile#: +353 87 2074066 After Hours Contact#: +1 877 477 2269 Office Hours: Mon - Thu 08:30 - 17:00 GMT. Fri 08:30 - 16:00 GMT How to upload artifacts: https://support.pivotal.io/hc/en-us/articles/204369073 How to escalate a ticket: https://support.pivotal.io/hc/en-us/articles/203809556 [image: support] <https://support.pivotal.io/> [image: twitter] <https://twitter.com/pivotal> [image: linkedin] <https://www.linkedin.com/company/3048967> [image: facebook] <https://www.facebook.com/pivotalsoftware> [image: google plus] <https://plus.google.com/+Pivotal> [image: youtube] <https://www.youtube.com/playlist?list=PLAdzTan_eSPScpj2J50ErtzR9ANSzv3kl>