{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/2231","repository_url":"https://api.github.com/repos/processone/ejabberd","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/2231/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/2231/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/2231/events","html_url":"https://github.com/processone/ejabberd/issues/2231","id":289223205,"number":2231,"title":"PubSub: Owner can not purge their own nodes completely","user":{"login":"ejbravo","id":18525658,"avatar_url":"https://avatars0.githubusercontent.com/u/18525658?v=4","gravatar_id":"","url":"https://api.github.com/users/ejbravo","html_url":"https://github.com/ejbravo","followers_url":"https://api.github.com/users/ejbravo/followers","following_url":"https://api.github.com/users/ejbravo/following{/other_user}","gists_url":"https://api.github.com/users/ejbravo/gists{/gist_id}","starred_url":"https://api.github.com/users/ejbravo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejbravo/subscriptions","organizations_url":"https://api.github.com/users/ejbravo/orgs","repos_url":"https://api.github.com/users/ejbravo/repos","events_url":"https://api.github.com/users/ejbravo/events{/privacy}","received_events_url":"https://api.github.com/users/ejbravo/received_events","type":"User","site_admin":false},"labels":[{"id":179040816,"url":"https://api.github.com/repos/processone/ejabberd/labels/Component:Pubsub","name":"Component:Pubsub","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":{"login":"cromain","id":743187,"avatar_url":"https://avatars0.githubusercontent.com/u/743187?v=4","gravatar_id":"","url":"https://api.github.com/users/cromain","html_url":"https://github.com/cromain","followers_url":"https://api.github.com/users/cromain/followers","following_url":"https://api.github.com/users/cromain/following{/other_user}","gists_url":"https://api.github.com/users/cromain/gists{/gist_id}","starred_url":"https://api.github.com/users/cromain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cromain/subscriptions","organizations_url":"https://api.github.com/users/cromain/orgs","repos_url":"https://api.github.com/users/cromain/repos","events_url":"https://api.github.com/users/cromain/events{/privacy}","received_events_url":"https://api.github.com/users/cromain/received_events","type":"User","site_admin":false},"assignees":[{"login":"cromain","id":743187,"avatar_url":"https://avatars0.githubusercontent.com/u/743187?v=4","gravatar_id":"","url":"https://api.github.com/users/cromain","html_url":"https://github.com/cromain","followers_url":"https://api.github.com/users/cromain/followers","following_url":"https://api.github.com/users/cromain/following{/other_user}","gists_url":"https://api.github.com/users/cromain/gists{/gist_id}","starred_url":"https://api.github.com/users/cromain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cromain/subscriptions","organizations_url":"https://api.github.com/users/cromain/orgs","repos_url":"https://api.github.com/users/cromain/repos","events_url":"https://api.github.com/users/cromain/events{/privacy}","received_events_url":"https://api.github.com/users/cromain/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/processone/ejabberd/milestones/30","html_url":"https://github.com/processone/ejabberd/milestone/30","labels_url":"https://api.github.com/repos/processone/ejabberd/milestones/30/labels","id":3031746,"number":30,"title":"ejabberd 18.03","description":"","creator":{"login":"cromain","id":743187,"avatar_url":"https://avatars0.githubusercontent.com/u/743187?v=4","gravatar_id":"","url":"https://api.github.com/users/cromain","html_url":"https://github.com/cromain","followers_url":"https://api.github.com/users/cromain/followers","following_url":"https://api.github.com/users/cromain/following{/other_user}","gists_url":"https://api.github.com/users/cromain/gists{/gist_id}","starred_url":"https://api.github.com/users/cromain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cromain/subscriptions","organizations_url":"https://api.github.com/users/cromain/orgs","repos_url":"https://api.github.com/users/cromain/repos","events_url":"https://api.github.com/users/cromain/events{/privacy}","received_events_url":"https://api.github.com/users/cromain/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":13,"state":"open","created_at":"2018-01-12T16:11:30Z","updated_at":"2018-03-16T16:49:07Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2018-01-17T10:55:59Z","updated_at":"2018-03-19T13:35:05Z","closed_at":null,"author_association":"NONE","body":"> What version of ejabberd are you using?\r\n\r\n18.01\r\n\r\n> What operating system (version) are you using?\r\n\r\nCentOS 7\r\n\r\n> How did you install ejabberd (source, package, distribution)?\r\n\r\nRPM package\r\n\r\n> What did not work as expected? Are there error messages in the log? What\r\n> was the unexpected behaviour? What was the expected result?\r\n\r\nWhen the owner of a PubSub node purges it, there are some items that remain on it. Even receiving a 'result' stanza from the service which says that everything is ok.\r\nDo you know the reason for this unexpected behaviour?\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/374213217","html_url":"https://github.com/processone/ejabberd/issues/2231#issuecomment-374213217","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/2231","id":374213217,"user":{"login":"cromain","id":743187,"avatar_url":"https://avatars0.githubusercontent.com/u/743187?v=4","gravatar_id":"","url":"https://api.github.com/users/cromain","html_url":"https://github.com/cromain","followers_url":"https://api.github.com/users/cromain/followers","following_url":"https://api.github.com/users/cromain/following{/other_user}","gists_url":"https://api.github.com/users/cromain/gists{/gist_id}","starred_url":"https://api.github.com/users/cromain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cromain/subscriptions","organizations_url":"https://api.github.com/users/cromain/orgs","repos_url":"https://api.github.com/users/cromain/repos","events_url":"https://api.github.com/users/cromain/events{/privacy}","received_events_url":"https://api.github.com/users/cromain/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T13:35:05Z","updated_at":"2018-03-19T13:35:05Z","author_association":"OWNER","body":"that's really odd as replication looks correctly enabled there. i'm investigating what else can be wrong but i'm pretty sure this is an issue with orphaned items. note: pubsub_orphan table is a dirty hack using mnesia backend, because mnesia lacks \"on delete cascade\" feature we are using with sql backend.\r\n\r\nlast question, what says this command (should reply true if sync is good):\r\n{[R1,R2],_}=ejabberd_cluster:multicall(mnesia,dirty_all_keys,[pubsub_orphan]).\r\nR1==R2."}}
{"actor":{"display_login":"cromain"}}