I added a new connection flag on a branch I'm working on today. I noticed that all the connection flags are already used up. (I'll work around that for now.) However the automatic flag generation script happily adds in a new one, potentially overflowing the field. It would be nice if the script could somehow detect it.
Nearly all flag fields are 32 bits, including the connection flags. There are several paths that whoever works on this can consider. We could bump the field to 64 bits. We could separate out some of them to a new field (for instance WT_CONN_SERVER_*). Or something else.