This is what I think is the easiest way to replicate the problem:
Requirements:
an iPhone and a laptop (with a web browser) both connected to the internet.
An apple developer account. The iPhone is signed in with the same Apple ID.
An existing CloudKit container’s private database that has a record with data in Bytes field.
Make sure your other personal iCloud data usage remain the same throughout the test.
Step 1:
Go to Your iPhone > Settings > Apple ID > iCloud > Manage Storage
Find the currently used space in bytes. Write it down. Let’s say the number is “A”.
Step 2:
Via you laptop’s browser and the developer account, go to CloudKit Dashboard > Container > Data
Query a record that has a “Bytes” field. Click the record name to open “Edit Record” window.
The field shows the space (in bytes) that the data occupy. Write it down. Let’s say the number is “B”.
Step 3:
Delete the data in that ”Bytes” field by clicking at the rounded-red button on the right. Then save the record.
Step 4:
Wait a few seconds for iCloud to sync.
Go back to Your iPhone > Settings > Apple ID > iCloud > Manage Storage
Find the currently used space in bytes (same place in step 1). Write it down. Let’s say the number is “C”.
Step 5:
To recap,
A is the used space BEFORE deleting data,
B is the size of the data deleted from the Bytes field,
C is the used space AFTER deleting data.
The parity should be: A - C = B
But what actually happen is: A - C = 10*B
I did it many times. Same result.