You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/05/06 13:16:31 UTC

[GitHub] [maven-indexer] vrubezhny opened a new pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

vrubezhny opened a new pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105


   …lappingFileLockException
   
   The fix prevents the openAndWarmup() method of DefaultIndexingContext to be invoked twice during purge() method call
   in order to prevent an attempt to lock twice the same incex as this method is invoked from a subsequent prepareIndex()
    method call.
   
   Signed-off-by: Victor Rubezhny <vr...@redhat.com>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] vrubezhny commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
vrubezhny commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-847739816


   Hello, 
   any ETA on this issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] HannesWell commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
HannesWell commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-933865098


   Is the following code a suitable workaround for the meantime?
   ```
   NexusIndexer indexer = ...;
   IndexingContext ctx = ...;
   indexer.removeIndexingContext(ctx, true);
   ctx = indexer.addIndexingContextForced(ctx.getId(), ctx.getRepositoryId(), ctx.getRepository(),
       ctx.getIndexDirectoryFile(), ctx.getRepositoryUrl(), ctx.getIndexUpdateUrl(), ctx.getIndexCreators());
   ctx.rebuildGroups();
   ctx.updateTimestamp(true, null);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] laeubi commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
laeubi commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-883158677


   @slachiewicz Is there any plan when this change is released? this is currently blocking m2e project because of failing integration tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] HannesWell edited a comment on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
HannesWell edited a comment on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-933865098


   Is the following code a suitable workaround for the meantime until the next indexer release?
   ```
   NexusIndexer indexer = ...;
   IndexingContext ctx = ...;
   indexer.removeIndexingContext(ctx, true);
   ctx = indexer.addIndexingContextForced(ctx.getId(), ctx.getRepositoryId(), ctx.getRepository(),
       ctx.getIndexDirectoryFile(), ctx.getRepositoryUrl(), ctx.getIndexUpdateUrl(), ctx.getIndexCreators());
   ctx.rebuildGroups();
   ctx.updateTimestamp(true, null);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] slachiewicz commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
slachiewicz commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-883170408


   Hope with next week i would be able to start release process


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] slachiewicz merged pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
slachiewicz merged pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] HannesWell commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
HannesWell commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-901458838


   Is it possible to track the progress of the release process somewhere or get notified once the release shipped?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] laeubi commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
laeubi commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-883158677


   @slachiewicz Is there any plan when this change is released? this is currently blocking m2e project because of failing integration tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] mickaelistria commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
mickaelistria commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-856726613


   @slachiewicz Is there anything missing to this PR before it can be considered for a merge?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] slachiewicz commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
slachiewicz commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-883170408


   Hope with next week i would be able to start release process


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] slachiewicz commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
slachiewicz commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-883170408


   Hope with next week i would be able to start release process


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [maven-indexer] laeubi commented on pull request #105: MINDEXER-127: Maven repository indexing error: java.nio.channels.Over…

Posted by GitBox <gi...@apache.org>.
laeubi commented on pull request #105:
URL: https://github.com/apache/maven-indexer/pull/105#issuecomment-883158677


   @slachiewicz Is there any plan when this change is released? this is currently blocking m2e project because of failing integration tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org