柏杰
0b0fb9b9e4
avoid data race read volume.IsEmpty (#4574)
* avoid data race read volume.IsEmpty
- avoid phantom read isEmpty for onlyEmpty
- use `v.DataBackend.GetStat()` in v.dataFileAccessLock scope
* add Destroy(onlyEmpty: true) test
* add Destroy(onlyEmpty: false) test
* remove unused `IsEmpty()`
* change literal `8` to `SuperBlockSize`
2023-06-14 14:39:58 -07:00
..
2022-08-23 23:18:21 -07:00
2023-06-14 14:39:58 -07:00
2023-06-12 22:27:38 -07:00
2022-07-29 00:17:28 -07:00
2022-12-11 21:05:58 -08:00
2023-01-20 01:48:12 -08:00
2023-03-02 08:24:36 -08:00
2023-04-23 22:34:38 -07:00
2023-01-20 01:48:12 -08:00
2022-09-14 23:06:44 -07:00
2023-04-29 08:31:05 -07:00
2023-06-12 10:42:44 -07:00
2022-07-29 00:17:28 -07:00
2023-05-19 06:39:25 -07:00
2023-01-20 01:48:12 -08:00
2023-05-16 09:39:43 -07:00
2023-06-04 14:27:56 -07:00
2022-07-29 00:17:28 -07:00
2023-06-12 10:42:44 -07:00
2023-06-14 14:39:58 -07:00
2022-04-08 15:07:56 +08:00
2023-03-08 01:04:02 -08:00
2023-06-14 14:39:58 -07:00
2023-06-09 09:42:48 -07:00
2023-06-04 22:34:26 -07:00
2023-03-26 12:22:48 -07:00
2022-12-01 14:09:14 -08:00
2022-12-11 21:05:58 -08:00