[jira] [Updated] (GEODE-10415) CVEs detected in latest geode

2022-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-10415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated GEODE-10415:
---
Labels: needsTriage pull-request-available  (was: needsTriage)

> CVEs detected in latest geode
> -
>
> Key: GEODE-10415
> URL: https://issues.apache.org/jira/browse/GEODE-10415
> Project: Geode
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Shruti
>Assignee: Mario Kevo
>Priority: Blocker
>  Labels: needsTriage, pull-request-available
>
> We are detecting the following CVEs with geode
> 💥 High or critical vulnerabilities: 21
> The spring-core is likely Not Affected. But we would like to know about the 
> rest of these listed CVEs. Any info is appreciated
> {{ }}
> {{NAME                            INSTALLED              FIXED-IN     TYPE    
>       VULNERABILITY        SEVERITY}}
> {{jetty-security                  9.4.46.v20220331                    
> java-archive  CVE-2022-2048        High}}
> {{jetty-server                    9.4.46.v20220331                    
> java-archive  CVE-2022-2048        High}}
> {{jetty-servlet                   9.4.46.v20220331                    
> java-archive  CVE-2022-2048        High}}
> {{jetty-util                      9.4.46.v20220331                    
> java-archive  CVE-2022-2048        High}}
> {{jetty-util-ajax                 9.4.46.v20220331                    
> java-archive  CVE-2022-2048        High}}
> {{jetty-webapp                    9.4.46.v20220331                    
> java-archive  CVE-2022-2048        High}}
> {{jetty-xml                       9.4.46.v20220331                    
> java-archive  CVE-2022-2048        High}}
> {{jgroups                         3.6.14.Final           4.0.0        
> java-archive  GHSA-rc7h-x6cq-988q  Critical}}
> {{shiro-cache                     1.9.0                               
> java-archive  CVE-2022-32532       Critical}}
> {{shiro-config-core               1.9.0                               
> java-archive  CVE-2022-32532       Critical}}
> {{shiro-config-ogdl               1.9.0                               
> java-archive  CVE-2022-32532       Critical}}
> {{shiro-core                      1.9.0                  1.9.1        
> java-archive  GHSA-4cf5-xmhp-3xj7  Critical}}
> {{shiro-core                      1.9.0                               
> java-archive  CVE-2022-32532       Critical}}
> {{shiro-crypto-cipher             1.9.0                               
> java-archive  CVE-2022-32532       Critical}}
> {{shiro-crypto-core               1.9.0                               
> java-archive  CVE-2022-32532       Critical}}
> {{shiro-crypto-hash               1.9.0                               
> java-archive  CVE-2022-32532       Critical}}
> {{shiro-event                     1.9.0                               
> java-archive  CVE-2022-32532       Critical}}
> {{shiro-lang                      1.9.0                               
> java-archive  CVE-2022-32532       Critical}}
> {{spring-core                     5.3.20                              
> java-archive  CVE-2016-127     Critical}}
> {{jetty-http                      9.4.46.v20220331                    
> java-archive  CVE-2022-2048        High}}
> {{jetty-io                        9.4.46.v20220331                    
> java-archive  CVE-2022-2048        High}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (GEODE-10421) Enhancment of start gw sender with clean-queue

2022-09-13 Thread Mario Ivanac (Jira)
Mario Ivanac created GEODE-10421:


 Summary: Enhancment of start gw sender with clean-queue
 Key: GEODE-10421
 URL: https://issues.apache.org/jira/browse/GEODE-10421
 Project: Geode
  Issue Type: Improvement
  Components: gfsh, wan
Reporter: Mario Ivanac


Reject command if gateway sender is not stopped on all servers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (GEODE-10421) Enhancment of start gw sender with clean-queue

2022-09-13 Thread Mario Ivanac (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-10421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Ivanac reassigned GEODE-10421:


Assignee: Mario Ivanac

> Enhancment of start gw sender with clean-queue
> --
>
> Key: GEODE-10421
> URL: https://issues.apache.org/jira/browse/GEODE-10421
> Project: Geode
>  Issue Type: Improvement
>  Components: gfsh, wan
>Reporter: Mario Ivanac
>Assignee: Mario Ivanac
>Priority: Major
>
> Reject command if gateway sender is not stopped on all servers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (GEODE-10402) Fix FunctionException handling

2022-09-13 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on GEODE-10402:
-

Commit 992703da07cf80c37cefc84dd409ba5b0e383dd0 in geode-native's branch 
refs/heads/develop from Mario Salazar de Torres
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=992703da0 ]

GEODE-10402: Fix FunctionException handling (#981)

* GEODE-10402: Fix FunctionException handling

 - Fixed handling for FunctionException.
 - Added InternalFunctionInvocationTargetException and replaced
   GF_FUNCTION_EXCEPTION by
   GF_INTERNAL_FUNCTION_INVOCATION_TARGET_EXCEPTION, so function
   exceptions are properly handled.
 - Code modified to adapt to the above changes.

* GEODE-10402: Revision 1

 - Actually added handling for FunctionException exception in
   ThinClientRegion.
 - Removed InternalFunctionInvocationTargetException as part of the
   public API since this is part of the internal Java API.
 - Added a new IT to verify that FunctionExceptions thrown by the user
   are actually thrown in the native library as FunctionException's.

* GEODE-10402: Format code

* GEODE-10402: Revision 2

 - Fixed clang-tidy warnings.
 - Fixed format on one of the Java classes for testing.

> Fix FunctionException handling
> --
>
> Key: GEODE-10402
> URL: https://issues.apache.org/jira/browse/GEODE-10402
> Project: Geode
>  Issue Type: Bug
>  Components: native client
>Reporter: Mario Salazar de Torres
>Assignee: Mario Salazar de Torres
>Priority: Major
>  Labels: needsTriage, pull-request-available
>
> *GIVEN* a ServerFunction throwing a FunctionException
> *WHEN* its executed
> *THEN* a CacheServerException is thrown rather FunctionException
> 
> *Additional info.* FunctionException seems not to be handled, that's why the 
> default handling exception is thrown by the native API, CacheServerException



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (GEODE-10402) Fix FunctionException handling

2022-09-13 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on GEODE-10402:


albertogpz merged PR #981:
URL: https://github.com/apache/geode-native/pull/981




> Fix FunctionException handling
> --
>
> Key: GEODE-10402
> URL: https://issues.apache.org/jira/browse/GEODE-10402
> Project: Geode
>  Issue Type: Bug
>  Components: native client
>Reporter: Mario Salazar de Torres
>Assignee: Mario Salazar de Torres
>Priority: Major
>  Labels: needsTriage, pull-request-available
>
> *GIVEN* a ServerFunction throwing a FunctionException
> *WHEN* its executed
> *THEN* a CacheServerException is thrown rather FunctionException
> 
> *Additional info.* FunctionException seems not to be handled, that's why the 
> default handling exception is thrown by the native API, CacheServerException



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (GEODE-10421) Enhancment of start gw sender with clean-queue

2022-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-10421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated GEODE-10421:
---
Labels: pull-request-available  (was: )

> Enhancment of start gw sender with clean-queue
> --
>
> Key: GEODE-10421
> URL: https://issues.apache.org/jira/browse/GEODE-10421
> Project: Geode
>  Issue Type: Improvement
>  Components: gfsh, wan
>Reporter: Mario Ivanac
>Assignee: Mario Ivanac
>Priority: Major
>  Labels: pull-request-available
>
> Reject command if gateway sender is not stopped on all servers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (GEODE-10410) Rebalance Guard Prevent Lost Bucket Recovery

2022-09-13 Thread Weijie Xu (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-10410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weijie Xu reassigned GEODE-10410:
-

Assignee: Weijie Xu

> Rebalance Guard Prevent Lost Bucket Recovery
> 
>
> Key: GEODE-10410
> URL: https://issues.apache.org/jira/browse/GEODE-10410
> Project: Geode
>  Issue Type: Bug
>Reporter: Weijie Xu
>Assignee: Weijie Xu
>Priority: Major
>  Labels: needsTriage
> Attachments: server2.log, test.tar.gz
>
>
> Following steps reproduce the issue:
> Run the start.gfsh in the attached example, which configures a geode system 
> with a partitioned region and a gateway sender. So there are two regions, the 
> manually created region, and the queue region.
> Then run the example code, which will source ~400M data and 5 times amount of 
> events into the system. All data are sourced into the system, no bucket lost, 
> and no out of memory.
> Then stop one of the server, and revoke the disk file of the server.
> Then start the server, which will trigger a bucket recovery. After that, 
> there will be part of secondary bucket lost.
> gfsh>show metrics --region=/example-region
>           | numBucketsWithoutRedundancy  | 63
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (GEODE-10410) Rebalance Guard Prevent Lost Bucket Recovery

2022-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/GEODE-10410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated GEODE-10410:
---
Labels: needsTriage pull-request-available  (was: needsTriage)

> Rebalance Guard Prevent Lost Bucket Recovery
> 
>
> Key: GEODE-10410
> URL: https://issues.apache.org/jira/browse/GEODE-10410
> Project: Geode
>  Issue Type: Bug
>Reporter: Weijie Xu
>Assignee: Weijie Xu
>Priority: Major
>  Labels: needsTriage, pull-request-available
> Attachments: server2.log, test.tar.gz
>
>
> Following steps reproduce the issue:
> Run the start.gfsh in the attached example, which configures a geode system 
> with a partitioned region and a gateway sender. So there are two regions, the 
> manually created region, and the queue region.
> Then run the example code, which will source ~400M data and 5 times amount of 
> events into the system. All data are sourced into the system, no bucket lost, 
> and no out of memory.
> Then stop one of the server, and revoke the disk file of the server.
> Then start the server, which will trigger a bucket recovery. After that, 
> there will be part of secondary bucket lost.
> gfsh>show metrics --region=/example-region
>           | numBucketsWithoutRedundancy  | 63
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)