You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check if MQ_QMGR_LOG_FILE_PAGES matches the value set in qm.ini
71
+
lfp:=os.Getenv("MQ_QMGR_LOG_FILE_PAGES")
72
+
iflfp!="" {
73
+
qmIniBytes, err:=readQMIni(dataDir)
74
+
iferr!=nil {
75
+
log.Printf("Error reading qm.ini : %v", err)
76
+
returnfalse, err
77
+
}
78
+
if!validateLogFilePageSetting(qmIniBytes, lfp) {
79
+
log.Println("Warning: the value of MQ_QMGR_LOG_FILE_PAGES does not match the value of 'LogFilePages' in the qm.ini. This setting cannot be altered after Queue Manager creation.")
80
+
}
81
+
}
62
82
returnfalse, nil
63
83
}
64
84
65
-
mounts, err:=containerruntime.GetMounts()
66
-
iferr!=nil {
67
-
log.Printf("Error getting mounts for queue manager")
68
-
returnfalse, err
69
-
}
70
-
71
85
// Check if 'qm.ini' configuration file exists for the queue manager
72
86
// TODO : handle possible race condition - use a file lock?
73
-
dataDir:=getQueueManagerDataDir(mounts, name)
74
87
_, err=os.Stat(filepath.Join(dataDir, "qm.ini"))
75
88
iferr!=nil {
76
89
// If 'qm.ini' is not found - run 'crtmqm' to create a new queue manager
0 commit comments