So… I dug out an original MacBook Air (M1, 2020). Installed FoundationDB-7.3.27_arm64.pkg
and… everything just worked 
This is what it looks like right after the server starts:
fdb> status details
Using cluster file `/usr/local/etc/foundationdb/fdb.cluster'.
Configuration:
Redundancy mode - single
Storage engine - memory
Log engine - ssd-2
Encryption at-rest - disabled
Coordinators - 1
Desired Commit Proxies - 3
Desired GRV Proxies - 1
Desired Resolvers - 1
Desired Logs - 3
Usable Regions - 1
Cluster:
FoundationDB processes - 1
Zones - 1
Machines - 1
Memory availability - 0.2 GB per process on machine with least available
>>>>> (WARNING: 4.0 GB recommended) <<<<<
Fault Tolerance - 0 machines
Server time - 12/07/23 15:42:13
Data:
Replication health - (Re)initializing automatic data distribution
Moving data - unknown (initializing)
Sum of key-value sizes - unknown
Disk space used - 105 MB
Operating space:
Storage server - 1.0 GB free on most full server
Log server - 65.0 GB free on most full server
Workload:
Read rate - 40 Hz
Write rate - 0 Hz
Transactions started - 22 Hz
Transactions committed - 1 Hz
Conflict rate - 0 Hz
Backup and DR:
Running backups - 0
Running DRs - 0
Process performance details:
127.0.0.1:4689 ( 3% cpu; 43% machine; 0.000 Gbps; 7% disk IO; 0.1 GB / 0.2 GB RAM )
Coordination servers:
127.0.0.1:4689 (reachable)
Client time: 12/07/23 15:42:13
…and once things settle down:
fdb> status details
Using cluster file `/usr/local/etc/foundationdb/fdb.cluster'.
Configuration:
Redundancy mode - single
Storage engine - memory
Log engine - ssd-2
Encryption at-rest - disabled
Coordinators - 1
Desired Commit Proxies - 3
Desired GRV Proxies - 1
Desired Resolvers - 1
Desired Logs - 3
Usable Regions - 1
Cluster:
FoundationDB processes - 1
Zones - 1
Machines - 1
Memory availability - 0.5 GB per process on machine with least available
>>>>> (WARNING: 4.0 GB recommended) <<<<<
Fault Tolerance - 0 machines
Server time - 12/07/23 15:42:20
Data:
Replication health - Healthy
Moving data - 0.000 GB
Sum of key-value sizes - 0 MB
Disk space used - 105 MB
Operating space:
Storage server - 1.0 GB free on most full server
Log server - 65.0 GB free on most full server
Workload:
Read rate - 22 Hz
Write rate - 0 Hz
Transactions started - 6 Hz
Transactions committed - 0 Hz
Conflict rate - 0 Hz
Backup and DR:
Running backups - 0
Running DRs - 0
Process performance details:
127.0.0.1:4689 ( 3% cpu; 46% machine; 0.000 Gbps; 9% disk IO; 0.1 GB / 0.5 GB RAM )
Coordination servers:
127.0.0.1:4689 (reachable)
Client time: 12/07/23 15:42:20
What’s interesting is that, on my MacBook Pro, “Log server” operating space is consistently reported as 0.0 GB
, which is clearly wrong. On the MacBook Air, 65.0 GB
is reported, which is close-ish to the amount of actual free space on the disk.
Clearly, there’s something up with my main dev machine. I’ll keep digging, but any pointers or ideas are much appreciated.
Update
For future travelers: this issue was apparently caused by an issue with my APFS “Data” volume. Running “First Aid” on it through Disk Utility immediately fixed all of my problems.
x:person_shrugging:
(and thanks again for stepping in to help, @johscheuer)
Update #2
…and it stopped working again. I think the culprit is:
Operating space:
Storage server - 1.0 GB free on most full server
Log server - 0.0 GB free on most full server
My guess: when the operating space for “log server” is reported at 0.0 GB, things stop working. (when it worked earlier today for me, “log server” space was reported at 0.2 GB, and then 0.1 GB; the fdbcli status
posted earlier by @johscheuer also showed ample log server space, as did my working MacBook Air)
Will keep digging, but would appreciate any pointers on how/why log space could be showing 0.0 GB on a machine with ample free disk space.