home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!swrinde!emory!tridom!wabwrld!willard!dawson
- From: dawson@willard.UUCP
- Newsgroups: comp.bbs.waffle
- Subject: Re: News/mail reader
- Message-ID: <goXNuB1w165w@willard.UUCP>
- Date: Sun, 22 Nov 92 17:58:39 EST
- References: <87iNuB4w165w@iowegia.uucp>
- Organization: Willard's House BBS, Atlanta, GA -- +1 (404) 664 8814
- Lines: 53
-
- kjhoule@iowegia.uucp (Kevin Houle) writes:
-
- > dawson@willard.UUCP writes:
- >
- > > Ok, let's have a counter example. Supposing files are sorted by creation
- > > date/time (as would apparently be the case with your technique). Suppose
- > > there were no new articles, and one was expired. The users' join files
- > > are now out of sync:
- > >
- > > Before unbatching : 1, 2, 3, 4, 5
- > > After unbatching : 1, 2, 3, 4
- > >
- > No, the expired article would be #1, and no resequencing would
- > take place because 2-5 is contiguous.
-
- Well, I must admit that I did not look at DupWeed to see exactly how the
- re-sequencing was being done. I gathered that messages were being renumbered,
- based on what the highest-numbered free-filename was, which in the above
- example would be '1', if resequencing was done after expiration. I suppose
- it would be '2' if the renumbering was done before expiration.
-
- Your approach does look safe, unless I've overlooked something...
-
- >
- > > Suppose there was one new article, and one was expired. No change to the
- > > users' join files, but it now points one too high:
- > >
- > > Before unbatching : 1, 2, 3, 4, 5
- > > After unbatching : 1, 2, 3, 4, 5
- > Again, the expired article would be #1, and the new article would
- > be #6. 2-6 is contiguous, no resequencing is done.
-
- Same explanation for my reasoning in the earlier example, mostly being that
- I had not looked at the implementation of DupWeed, but was instead making
- inferences from previous discussion.
-
- > Too simple for use on a full news spool, most definately. It
- > works fine for the purpose I wrote it for, which is to allow
- > some network redundancy on two SMALL LOCAL news hierarchies.
-
- OK.
-
- > Resequencing simply keeps the article names contiguous, something
- > I like to have. Doesn't 'enhance the general operation' of
- > anything.
-
- OK. Just wondered if there was some benefit I'd overlooked...
-
- --
- dawson@willard.UUCP (Willard Dawson)
- gatech!vdbsan!willard!dawson
- emory!slammer!willard!dawson
- Willard's House BBS, Atlanta, GA -- +1 (404) 664 8814
-