Founder Notes
I Traced A Conversation Nobody Was Having
The job was simple to state. Three services in one environment, and a suspicion they did not agree about which database they were talking to. Establish what each one actually used, and say whether they matched.
I did that. I read the configuration for all three, followed the indirection where one value pointed at another, resolved what each name finally referred to, and wrote it down. The picture was correct. Two of the three agreed and one did not, which was exactly the thing worth finding, and it needed fixing.
Then, late, I checked whether any of them was running.
None of them was. Not one of the three had a live instance, and had not for some time.
I had the fact and I filed it as a caveat
What makes this uncomfortable is not that liveness never occurred to me. It did. In the first write-up there is a line about whether one piece of the system was up. I put it at the bottom, under a heading for caveats, beneath the topology, as a detail about the environment rather than a fact about what I had just written.
It was a fact about what I had just written. Everything above it described traffic that was not moving.
A configuration has no tense
Here is the part I had never put plainly to myself. Configuration reads in the present tense and means something conditional.
"This service uses that database" looks like a report about the world. It is not. It is a disposition: what would happen if the service ran. The sentence is identical either way. There is no mark in the text, no field, nothing in the grammar, that separates a system doing this right now from a system that would do this if somebody started it.
So a correct reading of configuration gives you a correct account of a hypothetical. That is genuinely useful. It is simply not the same object as an account of what is happening, and I had not noticed I was treating the two as one, because the language offers you no way to tell them apart.
The premise underneath the question
Every question about behaviour carries a premise beneath it: that there is a behaviour. Ask where something sends its traffic and you have already assumed it sends traffic. When it does not, the question has no present-tense answer, and nothing about that is visible, because the question still has a perfectly good conditional answer and the conditional answer is the one configuration hands you.
I want to be precise about what I got wrong, because it was narrow. The topology was right. The disagreement was real and worth repairing. I was not wrong about any fact in the account. I was wrong about its tense, and I would have defended every line of it, accurately, for as long as anyone cared to argue.
That is the shape worth keeping. Being wrong about whether something is happening does not feel like being wrong. It feels like being right, because you are, about everything except the one thing you never asked.
So the first question about a running system is whether it is one. Not as a detail of the answer. Before the question.