[ https://issues.apache.org/jira/browse/TS-948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128090#comment-13128090 ]
Conan Wang commented on TS-948: ------------------------------- My test: return TS_ERROR directly in TSRemapInit {code} TSReturnCodeâ‹… TSRemapInit(TSRemapInterface* api_info, char* errbuf, int errbuf_size) { return TS_ERROR; {code} {code} [Oct 15 14:51:28.411] Server {0x7fff739b6960} WARNING: Failed to initialize plugin /Users/conan/box/ts-trunk/libexec/trafficserver/add_header.so (non-zero retval) ... bailing out FATAL: UnixUDPNet.cc:295: failed assert `event != NULL` /Users/conan/box/ts-trunk/bin/traffic_server - STACK TRACE: 0 libtsutil.3.dylib 0x0000000105af6e3b ink_fatal_va + 283 1 libtsutil.3.dylib 0x0000000105af7144 ink_fatal + 356 2 libtsutil.3.dylib 0x0000000105af458f _ink_assert + 271 3 traffic_server 0x00000001051c9ed5 _ZN19UDPReadContinuationD1Ev + 85 4 traffic_server 0x00000001051ca056 _ZN14ClassAllocatorI19UDPReadContinuationE4$_44D1Ev + 24 5 traffic_server 0x00000001051d452d _ZN14ClassAllocatorI19UDPReadContinuationED1Ev + 37 6 traffic_server 0x00000001051ca07b __tcf_3 + 27 7 libsystem_c.dylib 0x00007fff85e547c8 __cxa_finalize + 274 8 libsystem_c.dylib 0x00007fff85e54652 exit + 18 9 traffic_server 0x0000000104ff0b18 _ZN10UrlRewrite17load_remap_pluginEPPciP11url_mappingS0_iiPi + 4552 10 traffic_server 0x0000000104ffa383 _ZN10UrlRewrite10BuildTableEv + 12757 11 traffic_server 0x0000000104ffdcf5 _ZN10UrlRewriteC1EPKc + 2165 12 traffic_server 0x0000000104ef9ada _Z18init_reverse_proxyv + 138 13 traffic_server 0x0000000104f623bd _Z20init_HttpProxyServerv + 13 14 traffic_server 0x0000000104ecebd9 main + 6073 15 traffic_server 0x0000000104e582a4 start + 52 [Oct 15 14:51:28.747] Manager {0x7fff739b6960} ERROR: [LocalManager::pollMgmtProcessServer] Server Process terminated due to Sig 6: Abort trap: 6 {code} > do not reload bad remap.config > ------------------------------ > > Key: TS-948 > URL: https://issues.apache.org/jira/browse/TS-948 > Project: Traffic Server > Issue Type: Improvement > Components: Configuration, Management > Affects Versions: 3.1.0, 3.0.1 > Reporter: Conan Wang > Assignee: Leif Hedstrom > Priority: Critical > Fix For: 3.1.1 > > > traffic_server will exit if exists bad rules in remap.config, whenever > startup or reload ( traffic_line -x ). > If remap.config is not edited correctly, the server/cluster will crash when > reloading. > It's better to pre-check the remap table and not switch to the new table if > remap.config is not enough correct. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira