documentation incomplete: Server.xact_think

Bug #899150 reported by Gerrit Hohl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Polygraph
New
Low
Unassigned

Bug Description

In the file workloads/include/polymix-4-guts.pg the property xact_think of the Server class is used in line 19. But it isn't mentioned in the Reference Manual > PGL > Types page.
http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Server

Server S = {
     kind = "PolyMix-4-srv";

     contents = [ cntImage: 65%, cntHTML: 15%, cntDownload: 0.5%, cntOther ];
     direct_access = [ cntHTML, cntDownload, cntOther ];

     xact_think = norm(2.5sec, 1sec);
     pconn_use_lmt = zipf(16);
     idle_pconn_tout = 15sec;
     abort_probe = 0.1%;

     addresses = serverAddrs(asPolyMix4, TheBench);
     http_versions = [ "1.0" ]; // newer agents use HTTP/1.1 by default
};

As you programmed the web polygraph in C++ I assume that you maybe used some kind of object inheritance. Maybe the Agent class - which has a xact_think property - is the superclass of the Server class.

http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Agent

If that is the case, the documentation also lacks the inheritance dependencies.

Revision history for this message
Gerrit Hohl (g-hohl) wrote :

Same goes for Server.pconn_use_lmt

Revision history for this message
Gerrit Hohl (g-hohl) wrote :

And also for Server.abort_prob

Revision history for this message
Gerrit Hohl (g-hohl) wrote :

Seems like Robot also is a subclass of Agent.

Revision history for this message
Dmitry Kurochkin (dmitry.kurochkin) wrote :

Yes, Robot and Server are inherited from Agent. So these fields are documented. But the class hierarchy documentation is missing.

Revision history for this message
Alex Rousskov (rousskov) wrote :

Actually, the fact that Server and Robot are derived from Agent is documented as the first five words of the Server and Robot documentation: "Derived from the Agent type, ..."

The Agent documentation states the same thing, with even more detail: "Agent is a base type for PGL robots, servers, and proxies. In other words, agents have properties common to those three types."

Granted, we can show and explain the dependency better.

Changed in polygraph:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.