{"action":"created","issue":{"url":"https://api.github.com/repos/wtsi-npg/baton/issues/105","labels_url":"https://api.github.com/repos/wtsi-npg/baton/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/wtsi-npg/baton/issues/105/comments","events_url":"https://api.github.com/repos/wtsi-npg/baton/issues/105/events","html_url":"https://github.com/wtsi-npg/baton/issues/105","id":60085326,"number":105,"title":"baton-metaquery avu filter: absence of an attribute ?","user":{"login":"mcast","id":36801,"avatar_url":"https://avatars.githubusercontent.com/u/36801?v=3","gravatar_id":"","url":"https://api.github.com/users/mcast","html_url":"https://github.com/mcast","followers_url":"https://api.github.com/users/mcast/followers","following_url":"https://api.github.com/users/mcast/following{/other_user}","gists_url":"https://api.github.com/users/mcast/gists{/gist_id}","starred_url":"https://api.github.com/users/mcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcast/subscriptions","organizations_url":"https://api.github.com/users/mcast/orgs","repos_url":"https://api.github.com/users/mcast/repos","events_url":"https://api.github.com/users/mcast/events{/privacy}","received_events_url":"https://api.github.com/users/mcast/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-06T10:36:56Z","updated_at":"2015-03-09T15:28:39Z","closed_at":"2015-03-09T15:11:52Z","body":"I would like to list files (owned by a user and...) _not_ having `avus: [{a:\"id_file\"}]` attached.  My reading of the 0.12.1 docs and subsequent experiments suggest it isn't supported.\r\n\r\nI'm importing legacy files and I need to ensure that the `ireg` has been followed by the appropriate `baton-metamod`, to supply legacy primary key and other metadata.\r\n\r\nThere are enough files that I'm doubting I can fetch the entire list back in one bite, then subtract the ones which do have `id_file`, but I will try it.\r\n\r\nPossible workaround for me: import to a different collection, then `imv` into the right place after metamod?\r\n\r\nSuggestions gratefully received,\r\n\r\nMatthew"},"comment":{"url":"https://api.github.com/repos/wtsi-npg/baton/issues/comments/77875386","html_url":"https://github.com/wtsi-npg/baton/issues/105#issuecomment-77875386","issue_url":"https://api.github.com/repos/wtsi-npg/baton/issues/105","id":77875386,"user":{"login":"keithj","id":102847,"avatar_url":"https://avatars.githubusercontent.com/u/102847?v=3","gravatar_id":"","url":"https://api.github.com/users/keithj","html_url":"https://github.com/keithj","followers_url":"https://api.github.com/users/keithj/followers","following_url":"https://api.github.com/users/keithj/following{/other_user}","gists_url":"https://api.github.com/users/keithj/gists{/gist_id}","starred_url":"https://api.github.com/users/keithj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithj/subscriptions","organizations_url":"https://api.github.com/users/keithj/orgs","repos_url":"https://api.github.com/users/keithj/repos","events_url":"https://api.github.com/users/keithj/events{/privacy}","received_events_url":"https://api.github.com/users/keithj/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T15:28:39Z","updated_at":"2015-03-09T15:28:39Z","body":"If you want the best speed with baton operations, it's best to pipeline all metadata operations through a single client if you can. That way you avoid the overhead of starting new processes and  opening new connections to the server (this use case is why baton was written). You will get speed through parallel processes too, but watch out that you don't exhaust the maximum number of database connections. AFAIK, one client == one database connection between the iRODS server and the backend database i.e. no pooling."}}