+4795. [func] A new statistics counter has been added to track
+ priming queries. [RT #46313]
+
4794. [func] "dnssec-checkds -s" specifies a file from which
to read a DS set rather than querying the parent.
[RT #44667]
SET_RESSTATDESC(serverquota, "spilled due to server quota",
"ServerQuota");
SET_RESSTATDESC(nextitem, "waited for next item", "NextItem");
+ SET_RESSTATDESC(priming, "priming queries", "Priming");
INSIST(i == dns_resstatscounter_max);
ISC_XMLCHAR "type=\"text/xsl\" href=\"/bind9.xsl\""));
TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "statistics"));
TRY0(xmlTextWriterWriteAttribute(writer, ISC_XMLCHAR "version",
- ISC_XMLCHAR "3.10"));
+ ISC_XMLCHAR "3.11"));
/* Set common fields for statistics dump */
dumparg.type = isc_statsformat_xml;
/*
* These statistics are included no matter which URL we use.
*/
- obj = json_object_new_string("1.4");
+ obj = json_object_new_string("1.5");
CHECKMEM(obj);
json_object_object_add(bindstats, "json-stats-version", obj);
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
+ret=0
+n=`expr $n + 1`
+echo "I:checking priming queries are counted ($n)"
+grep "1 priming queries" ns3/named.stats
+if [ $ret != 0 ]; then echo "I:failed"; fi
+status=`expr $status + $ret`
+
echo "I:exit status: $status"
[ $status -eq 0 ] || exit 1
queries. [RT #45847]
</para>
</listitem>
+ <listitem>
+ <para>
+ A new statistics counter has been added to track priming
+ queries. [RT #46313]
+ </para>
+ </listitem>
<listitem>
<para>
The <command>dnssec-signzone -x</command> flag and the
dns_resstatscounter_zonequota = 41,
dns_resstatscounter_serverquota = 42,
dns_resstatscounter_nextitem = 43,
- dns_resstatscounter_max = 44,
+ dns_resstatscounter_priming = 44,
+ dns_resstatscounter_max = 45,
/*
* DNSSEC stats.
res->priming = ISC_FALSE;
UNLOCK(&res->lock);
}
+ inc_stats(res, dns_resstatscounter_priming);
}
}