[JBoss JIRA] (ISPN-7233) Simplify Hot Rod server operation dispatching
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-7233:
-------------------------------------
Summary: Simplify Hot Rod server operation dispatching
Key: ISPN-7233
URL: https://issues.jboss.org/browse/ISPN-7233
Project: Infinispan
Issue Type: Task
Components: Server
Affects Versions: 9.0.0.Alpha4
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.0.0.Beta1
The Hot Rod server decoder/encoder use cumbersome switch and cascading if/then/else statements to dispatch the various commands.
The decoder should use a quick array lookup based on the incoming opcode.
The encoder should use a table switch to perform the correct operation.
Avoid using polymorphism which loses inlining
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7232) Hot Rod client in testsuite doesn't release resources
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-7232:
-------------------------------------
Summary: Hot Rod client in testsuite doesn't release resources
Key: ISPN-7232
URL: https://issues.jboss.org/browse/ISPN-7232
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Affects Versions: 9.0.0.Alpha4
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.0.0.Beta1
The server/hotrod testsuite doesn't release netty resources causing multiple cascading failures.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7231) XSite view should be available via JMX and DMR operations
by Galder Zamarreño (JIRA)
Galder Zamarreño created ISPN-7231:
--------------------------------------
Summary: XSite view should be available via JMX and DMR operations
Key: ISPN-7231
URL: https://issues.jboss.org/browse/ISPN-7231
Project: Infinispan
Issue Type: Feature Request
Components: Cross-Site Replication
Affects Versions: 8.2.5.Final, 9.0.0.Alpha4
Reporter: Galder Zamarreño
XSite view is currently only available via TRACE messages in {{org.jgroups.protocols.relay.RELAY2}} class. The view should be also available via JMX and DMR.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7228) Administration console - creating wrong schema doesn't show error message
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7228?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-7228:
-------------------------------------------
[~NadirX] please review and delegate!
> Administration console - creating wrong schema doesn't show error message
> -------------------------------------------------------------------------
>
> Key: ISPN-7228
> URL: https://issues.jboss.org/browse/ISPN-7228
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Alpha4
> Reporter: Roman Macor
> Assignee: Tristan Tarrant
> Attachments: ISPN-7228.txt
>
>
> Click on cache container -> Configuration -> Schemas -> Add -> Fill in incorrect scheme: (schema name: wrong_schema, Schema: nonsense)
> Result: The dialog is closed and no schema is created.
> Expected message:
> Error There has been an error executing the operation: DGISPN0118: Failed to invoke operation: org.infinispan.protostream.DescriptorParserException: java.lang.IllegalStateException: Syntax error in nonsense.proto at 1:9: unexpected label: nonsense
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7228) Administration console - creating wrong schema doesn't show error message
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7228?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic reassigned ISPN-7228:
-----------------------------------------
Assignee: Tristan Tarrant (was: Vladimir Blagojevic)
> Administration console - creating wrong schema doesn't show error message
> -------------------------------------------------------------------------
>
> Key: ISPN-7228
> URL: https://issues.jboss.org/browse/ISPN-7228
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Alpha4
> Reporter: Roman Macor
> Assignee: Tristan Tarrant
> Attachments: ISPN-7228.txt
>
>
> Click on cache container -> Configuration -> Schemas -> Add -> Fill in incorrect scheme: (schema name: wrong_schema, Schema: nonsense)
> Result: The dialog is closed and no schema is created.
> Expected message:
> Error There has been an error executing the operation: DGISPN0118: Failed to invoke operation: org.infinispan.protostream.DescriptorParserException: java.lang.IllegalStateException: Syntax error in nonsense.proto at 1:9: unexpected label: nonsense
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7228) Administration console - creating wrong schema doesn't show error message
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7228?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-7228:
-------------------------------------------
[~rmacor] Confirmed. I used the latest 9.0 snapshot [1] on the server and I got the stack trace attached (ISPN-7228.txt). We can not do much here from console perspective as we do not get an error from DMR. We need to review this code on the server side and fix it so that these register-schema ops fail properly and propagate the exception to us (DMR API) so we can deal with it. As a matter of fact we have error handling code in place that will work as soon as the server side is fixed. Reassigning to [~NadirX] so he can delegate to someone else.
[1] 59f1958 ISPN-7170 WriteSkewCheck version can be reset with an entry in store and not in memory
> Administration console - creating wrong schema doesn't show error message
> -------------------------------------------------------------------------
>
> Key: ISPN-7228
> URL: https://issues.jboss.org/browse/ISPN-7228
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Alpha4
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Attachments: ISPN-7228.txt
>
>
> Click on cache container -> Configuration -> Schemas -> Add -> Fill in incorrect scheme: (schema name: wrong_schema, Schema: nonsense)
> Result: The dialog is closed and no schema is created.
> Expected message:
> Error There has been an error executing the operation: DGISPN0118: Failed to invoke operation: org.infinispan.protostream.DescriptorParserException: java.lang.IllegalStateException: Syntax error in nonsense.proto at 1:9: unexpected label: nonsense
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7228) Administration console - creating wrong schema doesn't show error message
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7228?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-7228:
--------------------------------------
Attachment: ISPN-7228.txt
> Administration console - creating wrong schema doesn't show error message
> -------------------------------------------------------------------------
>
> Key: ISPN-7228
> URL: https://issues.jboss.org/browse/ISPN-7228
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Alpha4
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Attachments: ISPN-7228.txt
>
>
> Click on cache container -> Configuration -> Schemas -> Add -> Fill in incorrect scheme: (schema name: wrong_schema, Schema: nonsense)
> Result: The dialog is closed and no schema is created.
> Expected message:
> Error There has been an error executing the operation: DGISPN0118: Failed to invoke operation: org.infinispan.protostream.DescriptorParserException: java.lang.IllegalStateException: Syntax error in nonsense.proto at 1:9: unexpected label: nonsense
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7230) XSite view should be logged at INFO
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-7230?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño edited comment on ISPN-7230 at 11/24/16 6:16 AM:
------------------------------------------------------------------
The view is only presented when TRACE is enabled on {{org.jgroups.protocols.relay}}
{code}
12:13:40,849 TRACE [org.jgroups.protocols.relay.RELAY2] (Timer-3,gs-macbook-pro-3)
[Relayer _gs-macbook-pro-3:LON] view:
[_gs-macbook-pro-3:LON|0] (1) [_gs-macbook-pro-3:LON]
{code}
was (Author: galder.zamarreno):
The view is only presented when TRACE is enabled on {{org.jgroups.protocols.relay}}
{code}
12:13:40,849 TRACE [org.jgroups.protocols.relay.RELAY2] (Timer-3,gs-macbook-pro-3) [Relayer _gs-macbook-pro-3:LON] view: [_gs-macbook-pro-3:LON|0] (1) [_gs-macbook-pro-3:LON]
{code}
> XSite view should be logged at INFO
> -----------------------------------
>
> Key: ISPN-7230
> URL: https://issues.jboss.org/browse/ISPN-7230
> Project: Infinispan
> Issue Type: Feature Request
> Components: Cross-Site Replication
> Affects Versions: 9.0.0.Alpha4, 8.2.5.Final
> Reporter: Galder Zamarreño
>
> XSite view should be printed as INFO message. Currently, the only log messages printed are:
> Site A:
> {code}
> 11:19:00,398 INFO [org.jgroups.protocols.relay.RELAY2]
> (Timer-2,gs-macbook-pro-3) _gs-macbook-pro-3:LON:
> joined bridge cluster 'xsite'
> {code}
> Site B:
> {code}
> 11:19:31,329 INFO [org.jgroups.protocols.relay.RELAY2]
> (Timer-3,gs-macbook-pro-3) _gs-macbook-pro-3:NYC:
> joined bridge cluster 'xsite'
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7230) XSite view should be logged at INFO
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-7230?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-7230:
----------------------------------------
The view is only presented when TRACE is enabled on {{org.jgroups.protocols.relay}}
{code}
12:13:40,849 TRACE [org.jgroups.protocols.relay.RELAY2] (Timer-3,gs-macbook-pro-3) [Relayer _gs-macbook-pro-3:LON] view: [_gs-macbook-pro-3:LON|0] (1) [_gs-macbook-pro-3:LON]
{code}
> XSite view should be logged at INFO
> -----------------------------------
>
> Key: ISPN-7230
> URL: https://issues.jboss.org/browse/ISPN-7230
> Project: Infinispan
> Issue Type: Feature Request
> Components: Cross-Site Replication
> Affects Versions: 9.0.0.Alpha4, 8.2.5.Final
> Reporter: Galder Zamarreño
>
> XSite view should be printed as INFO message. Currently, the only log messages printed are:
> Site A:
> {code}
> 11:19:00,398 INFO [org.jgroups.protocols.relay.RELAY2]
> (Timer-2,gs-macbook-pro-3) _gs-macbook-pro-3:LON:
> joined bridge cluster 'xsite'
> {code}
> Site B:
> {code}
> 11:19:31,329 INFO [org.jgroups.protocols.relay.RELAY2]
> (Timer-3,gs-macbook-pro-3) _gs-macbook-pro-3:NYC:
> joined bridge cluster 'xsite'
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (ISPN-7197) Administration console - completed tasks are not shown in task history right away
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-7197?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic updated ISPN-7197:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Beta1
Resolution: Done
> Administration console - completed tasks are not shown in task history right away
> ---------------------------------------------------------------------------------
>
> Key: ISPN-7197
> URL: https://issues.jboss.org/browse/ISPN-7197
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.Alpha4
> Reporter: Roman Macor
> Assignee: Vladimir Blagojevic
> Fix For: 9.0.0.Beta1
>
> Attachments: local-task.jar
>
>
> Steps to reproduce:
> start domain.sh
> start cli.sh -> deploy /path/to/attached/jar/local-task.jar --all-server-groups
> in administration console -> click on cache container -> task execution -> Launch new task -> fill in the form: task = LocalTask, Cache= default, Originator node: master:server-one, Parameter1: param; value -> Click Launch task (Success! The task has been successfully launched is displayed) -> click close -> click on Task history
> result: the task is not there
> Please note that the task will be displayed in task history after a few moments (about 20 seconds) or after log out -> log in action.
> Javascript tasks are displayed in history right away.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month