Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-859

Correct prefix counters

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • None
    • BGP
    • None

      EffectiveRibInWriter's installedPrefixes counter is not accurate and cannot be accurately maintained during write process, because we do not know whether a prefix ended up being installed and hence when we see a withdraw we would have to read the data we have written.

      Instead of current expensive maintenance, we should maintain these number solely on events we trigger as writes - i.e. we should subscribe to the EFFRIBIN table routes for a particular writer and observe the number of routes present in the datastore.

      This way the counter-keeping will be dead-simple and also accurate.

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: