You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Durga Kadam (Jira)" <ji...@apache.org> on 2020/06/26 05:13:00 UTC

[jira] [Resolved] (ATLAS-3857) [UI] When deleted term same term twice shows 'Something went wrong' msg.

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

Durga Kadam resolved ATLAS-3857.
--------------------------------
    Resolution: Fixed

https://issues.apache.org/jira/browse/ATLAS-3857 and 
https://issues.apache.org/jira/browse/ATLAS-3156 

have the same solution as added loader on the delete button.

> [UI] When deleted term same term twice shows 'Something went wrong' msg.
> ------------------------------------------------------------------------
>
>                 Key: ATLAS-3857
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3857
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Durga Kadam
>            Priority: Minor
>         Attachments: delete term something went wrong issue.webm
>
>
> When deleted term, it does not get delete immediately when tried again to delete the same term shows 'Something went wrong msg'. PFA Video
> *Expected ::* On first delete it should show loading sign and/or delete button should get disabled
> *Actual::* It takes long to delete a term and as the delete button is enabled user tried to delete it again. When deleted the same term again Shows 'Something went wrong' msg.
>  Server Logs are as follows::
> 2020-06-23 12:12:44,315 ERROR - [pool-2-thread-10 - 1a7a6991-e5c3-4519-9b5b-e0a926abd4be:] ~ Could not commit transaction [7] due to exception (StandardJanusGraph:808)
>  org.janusgraph.diskstorage.locking.PermanentLockingException: Local lock contention
>  at org.janusgraph.diskstorage.locking.AbstractLocker.writeLock(AbstractLocker.java:327)
>  at org.janusgraph.diskstorage.locking.consistentkey.ExpectedValueCheckingStore.acquireLock(ExpectedValueCheckingStore.java:103)
>  at org.janusgraph.diskstorage.keycolumnvalue.KCVSProxy.acquireLock(KCVSProxy.java:51)
>  at org.janusgraph.diskstorage.BackendTransaction.acquireEdgeLock(BackendTransaction.java:236)
>  at org.janusgraph.graphdb.database.StandardJanusGraph.prepareCommit(StandardJanusGraph.java:551)
>  at org.janusgraph.graphdb.database.StandardJanusGraph.commit(StandardJanusGraph.java:731)
>  at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.commit(StandardJanusGraphTx.java:1425)
>  at org.janusgraph.graphdb.tinkerpop.JanusGraphBlueprintsGraph$GraphTransaction.doCommit(JanusGraphBlueprintsGraph.java:297)
>  at org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.commit(AbstractTransaction.java:104)
>  at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.commit(AtlasJanusGraph.java:248)
>  at org.apache.atlas.GraphTransactionInterceptor.doCommit(GraphTransactionInterceptor.java:157)
>  at org.apache.atlas.GraphTransactionInterceptor.doCommitOrRollback(GraphTransactionInterceptor.java:152)
>  at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:91)
>  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>  at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
>  at org.apache.atlas.glossary.GlossaryService$$EnhancerBySpringCGLIB$$71fceabc.deleteTerm(<generated>)
>  at org.apache.atlas.web.rest.GlossaryREST.deleteGlossaryTerm(GlossaryREST.java:590)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>  at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$VoidOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:167)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)