Re: [IGFS][Semaphore] Write file concurrently from several nodes

2016-07-05 Thread cristic83
Maybe the Thread.sleep prevents the code from concurrently accessing the same resources? Also, we're not reading the file and the write is done through and output stream, not a writer. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IGFS-Semaphore-Write

Re: [IGFS][Semaphore] Write file concurrently from several nodes

2016-07-04 Thread AndreyVel
In the code I tried reproduce you issue. I ran code in 2 IDEA sessions, the ignite work correctly without any exception. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IGFS-Semaphore-Write-file-concurrently-from-several-nodes-tp6009p6080.html Sent from the

Re: [IGFS][Semaphore] Write file concurrently from several nodes

2016-07-04 Thread cristic83
context: http://apache-ignite-users.70518.x6.nabble.com/IGFS-Semaphore-Write-file-concurrently-from-several-nodes-tp6009p6073.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: [IGFS][Semaphore] Write file concurrently from several nodes

2016-07-02 Thread AndreyVel
Hello cristic83, could you add same code to https://gist.github.com/AndreyVel/bc8b5e004dc47fdd5959caacdb308b37 for reproducing issue? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IGFS-Semaphore-Write-file-concurrently-from-several-nodes-tp6009p6055.html

[IGFS][Semaphore] Write file concurrently from several nodes

2016-06-30 Thread cristic83
upport, Cristi -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IGFS-Semaphore-Write-file-concurrently-from-several-nodes-tp6009.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.