gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-503) Field index 0 is always considered as clean even if it is dirty
Date Thu, 16 Feb 2017 18:36:41 GMT

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

ASF GitHub Bot commented on GORA-503:
-------------------------------------

Github user lewismc commented on the issue:

    https://github.com/apache/gora/pull/94
  
    OK I tried to test locally and I get the following
    ```
    2017-02-16 10:35:10,490 INFO  [StorageServiceShutdownHook] gms.Gossiper (Gossiper.java:stop(1197))
- Announcing shutdown
    2017-02-16 10:35:12,494 INFO  [StorageServiceShutdownHook] net.MessagingService (MessagingService.java:shutdown(686))
- Waiting for messaging service to quiesce
    2017-02-16 10:35:12,495 INFO  [ACCEPT-localhost/127.0.0.1] net.MessagingService (MessagingService.java:run(868))
- MessagingService shutting down server thread.
    2017-02-16 10:35:12,496 ERROR [StorageServiceShutdownHook] service.CassandraDaemon (CassandraDaemon.java:uncaughtException(187))
- Exception in thread Thread[StorageServiceShutdownHook,5,main]
    java.io.IOError: java.io.IOException: Unknown error: 316
    	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:701)
    	at org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.java:546)
    	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: java.io.IOException: Unknown error: 316
    	at sun.nio.ch.NativeThread.signal(Native Method)
    	at sun.nio.ch.ServerSocketChannelImpl.implCloseSelectableChannel(ServerSocketChannelImpl.java:292)
    	at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(AbstractSelectableChannel.java:234)
    	at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
    	at sun.nio.ch.ServerSocketAdaptor.close(ServerSocketAdaptor.java:137)
    	at org.apache.cassandra.net.MessagingService$SocketThread.close(MessagingService.java:885)
    	at org.apache.cassandra.net.MessagingService.shutdown(MessagingService.java:697)
    	... 3 more
    
    Results :
    
    Failed tests:   org.apache.gora.cassandra.store.TestCassandraStore: attempted to delete
non-existing file system-compaction_history-jb-531-CompressionInfo.db
    ```


> Field index 0 is always considered as clean even if it is dirty
> ---------------------------------------------------------------
>
>                 Key: GORA-503
>                 URL: https://issues.apache.org/jira/browse/GORA-503
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-core
>            Reporter: Kiyonari Harigae
>             Fix For: 0.7
>
>         Attachments: GORA-503.patch
>
>
> PersistentBase#checkIfMutableFieldAndDirty is always returns false when the field index
is 0. Also, PersistentBase#clearDirynessIfFieldIsDirtyable is does not clean when field index
is 0 even if it is dirty.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message