Lisandro Pin
00c621abb8
Fix dumb typo in 08556257 ( #6844 )
2025-06-06 05:59:11 -07:00
Lisandro Pin
bed0a64693
New needle_map.CompactMap() implementation for reduced memory usage ( #6842 )
...
* Rework `needle_map.CompactMap()` to maximize memory efficiency.
* Use a memory-efficient structure for `CompactMap` needle value entries.
This slightly complicates the code, but makes a **massive** difference
in memory efficiency - preliminary results show a ~30% reduction in
heap usage, with no measurable performance impact otherwise.
* Clean up type for `CompactMap` chunk IDs.
* Add a small comment description for `CompactMap()`.
* Add the old version of `CompactMap()` for comparison purposes.
2025-06-05 14:03:29 -07:00
Chris Lu
7151a54b28
Merge branch 'master' of https://github.com/seaweedfs/seaweedfs
2025-06-02 23:57:54 -07:00
Chris Lu
b25561d0d7
3.89
2025-06-02 23:56:58 -07:00
Chris Lu
d40746f34e
fix insert beyond look back window ( #6838 )
2025-06-02 23:43:01 -07:00
Lisandro Pin
9ffc8bcb54
Further improve memory usage of needle_map.CompactMap(). ( #6825 )
2025-05-28 11:42:00 -07:00
Lisandro Pin
2e1506c31e
Rewrite needle_map.CompactMap() for more efficient memory usage ( #6813 )
2025-05-23 07:05:08 -07:00
binbinshi
b7de4a967e
fix: compact_map get error mismatching cokie ( #3748 )
...
* fix: compact_map get error
* fix: CompactSection delete lock and move test to compact_map
Co-authored-by: shibinbin <shibinbin@megvii.com >
2022-10-09 16:56:40 -07:00
chrislu
21c0587900
go fmt
2022-09-14 23:06:44 -07:00
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2022-07-29 00:17:28 -07:00
chrislu
625fd16a2e
reduce upfront memory usage for low density volume
2022-06-16 15:39:29 -07:00
Chris Lu
24e11d1e90
look back when adding to sorted values
...
look back when adding to sorted values, before adding it to overflow
2021-06-28 22:46:49 -07:00
Chris Lu
fc8dd58aea
volume: large_volume version has bug when using in memory index
...
fix https://github.com/chrislusf/seaweedfs/issues/2162
2021-06-28 15:48:07 -07:00
Chris Lu
99ecf63276
go fmt
2020-08-29 22:28:33 -07:00
Chris Lu
fe01191b5b
support read option readDeleted=true
2020-08-18 19:22:16 -07:00
Chris Lu
6ccd7f0a4d
refactoring
2020-08-18 18:01:37 -07:00
Chris Lu
6a92f0bc7a
refactoring to typed Size
...
Go is amazing with refactoring!
2020-08-18 17:04:28 -07:00
Chris Lu
ec75b2d761
volume: fix bug with 8000GB version if using in memory index
...
fix https://github.com/chrislusf/seaweedfs/issues/994
2019-06-27 12:18:45 -07:00
Chris Lu
3f9ecee40f
working with reading remote intervals
2019-05-28 21:29:07 -07:00
Chris Lu
87f63b9c08
generate ec01~ec14, generate ecx file with sorted needle values
2019-05-18 22:46:24 -07:00
Chris Lu
e5506152c0
refactoring
2019-04-18 21:43:36 -07:00