{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4442","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4442/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4442/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4442/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4442","id":90438116,"number":4442,"title":"Remote query: improve performance","user":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/performance","name":"performance","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"tglman","id":424369,"avatar_url":"https://avatars.githubusercontent.com/u/424369?v=3","gravatar_id":"","url":"https://api.github.com/users/tglman","html_url":"https://github.com/tglman","followers_url":"https://api.github.com/users/tglman/followers","following_url":"https://api.github.com/users/tglman/following{/other_user}","gists_url":"https://api.github.com/users/tglman/gists{/gist_id}","starred_url":"https://api.github.com/users/tglman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tglman/subscriptions","organizations_url":"https://api.github.com/users/tglman/orgs","repos_url":"https://api.github.com/users/tglman/repos","events_url":"https://api.github.com/users/tglman/events{/privacy}","received_events_url":"https://api.github.com/users/tglman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/17","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.2","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/17/labels","id":613160,"number":17,"title":"2.2","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":213,"closed_issues":10,"state":"open","created_at":"2014-03-28T13:17:36Z","updated_at":"2015-06-24T00:33:01Z","due_on":"2015-08-09T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-06-23T16:54:33Z","updated_at":"2015-06-24T01:12:14Z","closed_at":null,"body":"ODocument class remove the `buffer` (as byte[]) once the document has been fully unmarshalled. Well, this saves memory, but in case of remote protocol, the result is usually sent back to the client and since there is no `buffer` anymore, it must be re-marshalled just to be sent to the network.\n\nSo in case of call from network protocol, and the network protocol is the same as storage one, we could avoid removing the `buffer`.\n\nSo, since buffer could be never null, how can manage the case when the object has been completely unmarshalled? Probably we'd need another flag like `fullyUnmarshalled`."},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/114689810","html_url":"https://github.com/orientechnologies/orientdb/issues/4442#issuecomment-114689810","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4442","id":114689810,"user":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T01:12:14Z","updated_at":"2015-06-24T01:12:14Z","body":"So with this fix, the solution in original issue's description has no much sense anymore. Changing the text..."}}