-
30. Re: Paging file of topic messages is not removed after subscribe to the corresponding message.
jeremystone Jul 27, 2011 11:33 AM (in response to clebert.suconic)Will this work with JBoss 4.3.x?
-
31. Re: Paging file of topic messages is not removed after subscribe to the corresponding message.
clebert.suconic Jul 27, 2011 11:37 AM (in response to jeremystone)Same as it was working before. (i.e. with limited support as JBoss 4 is really old)
The name on the branch doesn't mean we introduced anything specifically for AS7. It's just the branch used for releases on AS7.
-
32. Re: Paging file of topic messages is not removed after subscribe to the corresponding message.
jeremystone Jul 27, 2011 11:50 AM (in response to clebert.suconic)OK, excellent - will give it a go (will be tomorrow probably now). Thanks.
-
33. Re: Paging file of topic messages is not removed after subscribe to the corresponding message.
jeremystone Jul 29, 2011 6:56 AM (in response to miyasama)Clebert: Have tried this but unfortunately we still get the same problem.
I have modified the JMSPagingFileDeleteTest attached to include a test for non-durable subscriptions (where we have seen the problem). The extra test writes messages to the topic until paging starts and then receives all the messages. It then waits until paging stops - which it does not.
Note that the test sends just enough messages for paging to start. The strange thing is that if one extra message is sent, then paging does stop after the last message is received. (This behaviour does not seem to be affected by whether or not a whole number of messages fit on a page.)
-
34. Re: Paging file of topic messages is not removed after subscribe to the corresponding message.
clebert.suconic Jul 29, 2011 11:13 AM (in response to jeremystone)Ok, that's a different issue.
ATM: the system will only leave page mode if there is at least one message on paging. If you just enter into paging and never send a message, the system will be paging forever.
Your page-folder is empty on this case.
Can you open a JIRA?
But I think this is a minor issue. As you would leave paging on the next message received.
-
35. Re: Paging file of topic messages is not removed after subscribe to the corresponding message.
jeremystone Jul 29, 2011 11:53 AM (in response to clebert.suconic)OK - JIRA is https://issues.jboss.org/browse/HORNETQ-748
I will try again to reproduce my original problem in a unit test next week.
-
36. Re: Paging file of topic messages is not removed after subscribe to the corresponding message.
miyasama Aug 8, 2011 1:39 AM (in response to clebert.suconic)@Clebert.
I tried the test case that I posted here. HornetQ Branch_2_2_AS7 passed all assert statements, but I found only one problem.
Here are steps I have done:
1. Publish some messages to topic A until new message is paging out.
(Confirm that a paging file is created and some messages stored in the file.)
2. Restart the HornetQ server.
3. Subscribe to all the messages from the topic(topic A). (including the paged out messages.)
After 3 steps, PagingStoreClass's methods returned these values.
・PagingStore#getCurrentPage() … 7
・PagingStore#getNumberOfPages() … 1
・PagingStore#getNumberOfPages() … false
It looks like there is only one paging file(No.7). But in reality there are two paging files in my pc directory.(No.6 and No.7) I think HornetQ should delete No.6 paging file.
By the way, is the issue same as JIRA-HORNETQ-743?