Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DO NOT MERGE
This PR contains work on
localnode
service.localnode
service is a cocaine service spinned off by the srw and its purpose is to give srw workers and other local (also remote) users easy access to the facilities of the local elliptics node.localnode
closely resembles existingelliptics
service, but unlike itlocalnode
directly communicates with server node, so there is no middle layers, no additional costs and no configuration.That is the main reason behind
localnode
.This code is actually a revival of someone's previous effort, dusted off and cleaned up a bit.
As it is,
localnode
service is in working condition and is tested, but it's not ready for inclusion into a mainline yet.Future direction:
elliptics
service, they are supposedly too similar to have them both; it could be one implementation (interface layer and all) with initialization which takes either client elliptics node (elliptics
service in a pure cocaine cloud) or server elliptics node (localnode
running inside srw)Ugliness
cocaine/include/cocaine/actor.hpp
is a pristine copy of actor.hpp from cocaine-core sources. There is no other way, unfortunately: srw require actor_t defined in actor.hpp to be able to register localnode without requiring external config, but, by whatever reason, actor.hpp doesn't considered a part of public interface in cocaine v0.11 (in cocaine v0.12 it does).This change is