ashapkin commented on a change in pull request #6427: IGNITE-11690 .NET: Unable
to locate external assembly with enabled peerAssemblyLoading
URL: https://github.com/apache/ignite/pull/6427#discussion_r273591001
##########
File path:
modules/platforms/dotnet/Apache.Ignite.Core/Impl/Deployment/PeerAssemblyResolver.cs
##########
@@ -36,16 +37,29 @@ internal sealed class PeerAssemblyResolver : IDisposable
/** Assembly resolve handler. */
private readonly ResolveEventHandler _handler;
+ /** DataSlot name to be examined during peer loading */
+ private const string DisablePeerLoadingMark = "DisablePeerLoading";
+
/// <summary>
/// Initializes a new instance of the <see
cref="PeerAssemblyResolver"/> class.
/// </summary>
public PeerAssemblyResolver(IIgniteInternal ignite, Guid originNodeId)
{
Debug.Assert(ignite != null);
- _handler = (sender, args) => GetAssembly(ignite, args.Name,
originNodeId);
+ _handler = (sender, args) =>
+ {
+ object result =
CallContext.LogicalGetData(DisablePeerLoadingMark);
Review comment:
Probably not a best one towards Net standard, but does reduce amount of code
changes for now
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services