Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006291 [Resin] minor always 10-21-19 05:07 03-21-24 07:10
Reporter nam View Status public  
Assigned To
Priority high Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.62
  Product Build
Summary 0006291: mod_caucho does not see new elastic servers
Description (rep by J. Meyer)

mod_caucho does not automatically pick up new elastic servers. The elastic servers should show up under the virtual host section. The issue appears to Resin's failure to update the in-memory host etag cache after a cluster change. The workarounds are either:

1. restarting the triad servers, thereby clearing the cache on the backend, or
2. restarting apache/mod_caucho, thereby clearing the cache on the frontend

If only a triad server is restarted, then mod_caucho would eventually see the elastic server when it queries the restarted triad server through round-robin.


code trail:
1. HmuxDispatchRequest.handleRequest()
2. HmuxDispatchRequest.queryAll()
3. Host.setConfigETag()

An alternative workaround is to prevent mod_caucho from sending the etag to Resin. In modules/c/src/common/config.c->cse_update_host_from_resin(), delete the following lines:

    if (host->etag[0])
        hmux_write_string(&s, HMUX_DISPATCH_ETAG, host->etag);
Steps To Reproduce
Additional Information
Attached Files  among-us-shooting-boxes.jpg [^] (4,633 bytes) 03-21-24 07:10

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
10-21-19 05:07 nam New Issue
10-21-19 05:12 nam Description Updated
10-21-19 05:12 nam Description Updated
10-21-19 05:14 nam Summary hmux mod_caucho etag cache is not updated when an elastic server joins the cluster => hmux mod_caucho etag host cache is not updated when an elastic server joins the cluster
10-21-19 05:14 nam Summary hmux mod_caucho etag host cache is not updated when an elastic server joins the cluster => mod_caucho does not see new elastic servers
10-22-19 03:52 padmavathi Note Added: 0006918
10-23-19 09:07 ferg Note Deleted: 0006918
10-30-22 19:55 anotherthis Note Added: 0007114
12-21-22 00:04 lorde Note Added: 0007132
02-01-23 14:41 ferg Note Deleted: 0007114
02-01-23 14:41 ferg Note Deleted: 0007132
09-27-23 21:10 Nanasi1 Note Added: 0007266
11-08-23 03:33 juliasmith Note Added: 0007329
11-14-23 17:17 ferg Note Deleted: 0007266
11-14-23 17:17 ferg Note Deleted: 0007329
03-21-24 07:10 eggarsoviet File Added: among-us-shooting-boxes.jpg


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
46 total queries executed.
31 unique queries executed.
Powered by Mantis Bugtracker