querysub 0.337.0 → 0.339.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1541,7 +1541,7 @@ export class PathValueProxyWatcher {
|
|
|
1541
1541
|
|
|
1542
1542
|
let maxLocks = watcher.options.maxLocksOverride || DEFAULT_MAX_LOCKS;
|
|
1543
1543
|
if (locks.length > maxLocks) {
|
|
1544
|
-
throw new Error(`Too many locks for ${watcher.debugName} (${locks.length} > ${maxLocks}). You can override max locks with maxLocksOverride (in options / functionMetadata).`);
|
|
1544
|
+
throw new Error(`Too many locks for ${watcher.debugName} (${locks.length} > ${maxLocks}). Use Querysub.noLocks(() => ...) around code that is accessing too many values, assuming you don't want to lock them. You can override max locks with maxLocksOverride (in options / functionMetadata).`);
|
|
1545
1545
|
}
|
|
1546
1546
|
|
|
1547
1547
|
setValues = clientWatcher.setValues({
|
|
@@ -446,7 +446,8 @@ export class Querysub {
|
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
public static noLocks = (callback: () => void) => {
|
|
449
|
-
|
|
449
|
+
// I don't think there's really any reason to use the regular no-locks, as it's only for local paths, but... I think we don't use locks for local paths anyway?
|
|
450
|
+
doProxyOptions({ unsafeNoLocks: true }, callback);
|
|
450
451
|
};
|
|
451
452
|
|
|
452
453
|
/** A more powerful version of omCommitFinished, which even waits for call predictions (or tries to).
|
|
@@ -276,6 +276,14 @@ async function main() {
|
|
|
276
276
|
console.log("✅ Yarn installed");
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
+
console.log("Setting timezone to America/New_York...");
|
|
280
|
+
await runPromise(`ssh ${sshRemote} "sudo timedatectl set-timezone America/New_York"`);
|
|
281
|
+
console.log("✅ Timezone set to America/New_York");
|
|
282
|
+
|
|
283
|
+
console.log(`Setting tmux scrollback history to 100000...`);
|
|
284
|
+
await runPromise(`ssh ${sshRemote} "tmux set-option -g history-limit 100000"`);
|
|
285
|
+
console.log("✅ Tmux scrollback history set to 100000");
|
|
286
|
+
|
|
279
287
|
// 5. Clone current repo into ~/machine-alwaysup with SSH key handling for private repos
|
|
280
288
|
console.log("Setting up repository...");
|
|
281
289
|
let gitURLLive = await getGitURLLive();
|
|
@@ -4,7 +4,7 @@ Very small amount of data
|
|
|
4
4
|
https://127-0-0-1.querysubtest.com:7007/?hot&enableLogs&page=login&filter=%22431%22&showingmanagement&endTime=1755140880000&startTime=1754950020000&managementpage=LogViewer2
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
BUG: Digest email isn't limitting per file? We got 12 from a single file?
|
|
8
8
|
|
|
9
9
|
5) Life cycle analyzer
|
|
10
10
|
- Implement regular range lifecycles first (matching an === object field)
|
|
@@ -85,6 +85,31 @@ DEBUG: Deploy hash updates.
|
|
|
85
85
|
DEBUG: Suppression creation propagation
|
|
86
86
|
- It didn't propagate to all the servers?
|
|
87
87
|
|
|
88
|
+
DEBUG: Machine always up script not restoring dead node?
|
|
89
|
+
- Add lifecycle for service launching + checking
|
|
90
|
+
- Does it just not restart killed services... at all?
|
|
91
|
+
- Maybe machine always up just gets in a bad state (maybe the main loop exits?)
|
|
92
|
+
- But it's an infinite loop, so it can't?
|
|
93
|
+
|
|
94
|
+
DEBUG: Why we would get into an infinite identify loop:
|
|
95
|
+
Identified (loading) f194b2e77661e660.a794fbcf7b104c68.querysubtest.com:34139 as a path authority for:
|
|
96
|
+
=-.,querysubtest._com.,/
|
|
97
|
+
Waiting for 1 authorities to be ready:
|
|
98
|
+
=-.,querysubtest._com.,/
|
|
99
|
+
Starting to identify f194b2e77661e660.a794fbcf7b104c68.querysubtest.com:34139 as a path authority
|
|
100
|
+
Identified (loading) f194b2e77661e660.a794fbcf7b104c68.querysubtest.com:34139 as a path authority for:
|
|
101
|
+
=-.,querysubtest._com.,/
|
|
102
|
+
Waiting for 1 authorities to be ready:
|
|
103
|
+
=-.,querysubtest._com.,/
|
|
104
|
+
Starting to identify f194b2e77661e660.a794fbcf7b104c68.querysubtest.com:34139 as a path authority
|
|
105
|
+
Identified (loading) f194b2e77661e660.a794fbcf7b104c68.querysubtest.com:34139 as a path authority for:
|
|
106
|
+
=-.,querysubtest._com.,/
|
|
107
|
+
Starting to identify f194b2e77661e660.a794fbcf7b104c68.querysubtest.com:34139 as a path authority
|
|
108
|
+
Identified (loading) f194b2e77661e660.a794fbcf7b104c68.querysubtest.com:34139 as a path authority for:
|
|
109
|
+
=-.,querysubtest._com.,/
|
|
110
|
+
IMPORTANT! The infinite identify loop causes servers to never finish identification, and so new PathValueServers couldn't start. SO THIS IS A REALLY BIG ISSUE!
|
|
111
|
+
- Restarting the server fixed it. I'm not sure if it was one service, or all of them?
|
|
112
|
+
|
|
88
113
|
SPECIAL UI links for certain errors in log view
|
|
89
114
|
- Probably dynamically created, based on contents of log
|
|
90
115
|
- LINKS to filters for all these special errors on a special page
|