Refs #100796  Handle the ccnr righmost child case in a separate loop.

This starts out at the right end and works its way to the left,
instead of going left-to-right and remembering the last place.

It remains to simplify the leftmost child case, since it no longer
needs to handle both cases.
Refs #100796 Simplify r_store_find_first_match_candidate()

... using the new code that finds the bounds.
Refs #100796  Handle corner cases; add error checks; add counters.

At present, the counters are only plumbed into the xml status page.
Refs #100796  Return a more useful value in the success case of ccn_append_interest_bounds().
Refs #100796  Eliminate misleading match_error message.

That branch can be a perfectly normal case.
Refs #100800 Resolve race condition in publishLocalServiceKey
Refs #100800 Use assertEquals(x, y) instead of assertTrue(x == y) as it improves error logging.
refs #100800 Merge remote branch 'origin/100800-servicediscoveryprofile-race'

* origin/100800-servicediscoveryprofile-race:
  Refs #100800 Use assertEquals(x, y) instead of assertTrue(x == y) as it improves error logging.
  Refs #100800 Resolve race condition in publishLocalServiceKey
Refs #100796  (ccnr) Add some counters for the default ChildSelector as well as leftmost child.

The default case could be simplified now, and sped up as well, but we'll
leave that as a separate issue.
Refs #100800 Resolve race condition between registering prefix with ccnd and making entry in filter table.
refs #100800 Merge remote branch 'origin/100800-servicediscoveryprofile-race'

* origin/100800-servicediscoveryprofile-race:
  Refs #100800 Resolve race condition between registering prefix with ccnd and making entry in filter table.
refs #100796 Merge remote branch 'origin/100796-ccnr-rightmost-child-perf'

* origin/100796-ccnr-rightmost-child-perf:
  Refs #100796  (ccnr) Add some counters for the default ChildSelector as well as leftmost child.
  Refs #100796  Eliminate misleading match_error message.
  Refs #100796  Return a more useful value in the success case of ccn_append_interest_bounds().
  Refs #100796  Handle corner cases; add error checks; add counters.
  Refs #100796 Simplify r_store_find_first_match_candidate()
  Refs #100796  Handle the ccnr righmost child case in a separate loop.
Refs #100802  Remove a hack in VersioningProfile that has outlived its usefulness.

(committed by plass on Rebecca's behalf)
Refs #100801 Handle SIGXFSZ similarly to SIGINT/SIGTERM by exiting cleanly.
Refs #100801 Handle errors writing to the repository data file cleanly by truncating the partial write.
Refs #100801 Stop index rebuild extending the repo data file with a copy of itself

If the input being processed is from the original repoFile1 then we know the offset
for the object being read.  Pass the offset along so that we can calculate the
accession number, and avoid appending the data again to the repoFile1.
Refs #100801 Introduce check for repository startup affecting the backing file when it should not.
refs #100801 Merge remote branch 'origin/100801-ccnr-segfault'

* origin/100801-ccnr-segfault:
  Refs #100801 Introduce check for repository startup affecting the backing file when it should not.
  Refs #100801 Stop index rebuild extending the repo data file with a copy of itself
  Refs #100801 Handle errors writing to the repository data file cleanly by truncating the partial write.
  Refs #100801 Handle SIGXFSZ similarly to SIGINT/SIGTERM by exiting cleanly.
refs #100802 Merge remote branch 'origin/100802-versioning'

* origin/100802-versioning:
  Refs #100802  Remove a hack in VersioningProfile that has outlived its usefulness.