Anton Nikiforov acid-ant
  • Joined on 2023-03-06
acid-ant pushed to feat/get-prioritization at acid-ant/frostfs-node 2024-10-22 07:56:13 +00:00
6f1b5ca613 [#1439] object: Sort nodes by priority metrics to compute GET request
f9398fe0a3 [#1439] node: Reduce usage of netmapAPI.NodeInfo
Compare 2 commits »
acid-ant commented on pull request TrueCloudLab/frostfs-node#1439 2024-10-21 13:53:08 +00:00
object: Sort nodes by priority metrics to compute GET requests

That was intentionally, because we don't have an ability to exit gracefully when reading config - only [panic](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/8b6ec57c6147e5b784d78bc8

acid-ant commented on pull request TrueCloudLab/frostfs-node#1439 2024-10-21 13:17:20 +00:00
object: Sort nodes by priority metrics to compute GET requests

Yes, I'll rewrite this part to be more readable and simpler, thanks.

acid-ant commented on pull request TrueCloudLab/frostfs-node#1439 2024-10-21 12:30:29 +00:00
object: Sort nodes by priority metrics to compute GET requests

Ok, but for that I need to refactor a bit config and…

acid-ant commented on pull request TrueCloudLab/frostfs-node#1439 2024-10-21 12:26:42 +00:00
object: Sort nodes by priority metrics to compute GET requests

We need to store somewhere the relation between metric value and node. It is impossible to use slice as a key for map.

acid-ant commented on pull request TrueCloudLab/frostfs-node#1439 2024-10-21 12:16:49 +00:00
object: Sort nodes by priority metrics to compute GET requests

The idea was to use already existed api for sort instead of writing the custom for comparing []int/float lexicographically. For geoDistance metric, just convert distance to uint32 and then…

acid-ant deleted branch bugfix/sdnotify from acid-ant/frostfs-node 2024-10-21 11:56:03 +00:00
acid-ant pushed to master at TrueCloudLab/frostfs-node 2024-10-21 11:56:01 +00:00
8b6ec57c61 [#1440] sdnotify: Fix status for RELOADING
acid-ant merged pull request TrueCloudLab/frostfs-node#1440 2024-10-21 11:56:00 +00:00
sdnotify: Fix status for `RELOADING`
acid-ant commented on pull request TrueCloudLab/frostfs-node#1440 2024-10-21 11:25:51 +00:00
sdnotify: Fix status for RELOADING

Commit message updated.

acid-ant pushed to bugfix/sdnotify at acid-ant/frostfs-node 2024-10-21 11:25:36 +00:00
8b6ec57c61 [#1440] sdnotify: Fix status for RELOADING
acid-ant pushed to bugfix/sdnotify at acid-ant/frostfs-node 2024-10-21 11:15:36 +00:00
60911b7cb1 [#1440] sdnotify: Fix status for RELOADING
acid-ant created pull request TrueCloudLab/frostfs-node#1440 2024-10-21 11:15:04 +00:00
sdnotify: Fix status for RELOADING
acid-ant created branch bugfix/sdnotify in acid-ant/frostfs-node 2024-10-21 11:12:44 +00:00
acid-ant pushed to bugfix/sdnotify at acid-ant/frostfs-node 2024-10-21 11:12:44 +00:00
5be7aa3545 [#xx] sdnotify: Fix status for RELOADING
acid-ant commented on pull request TrueCloudLab/frostfs-node#1439 2024-10-21 08:46:15 +00:00
object: Sort nodes by priority metrics to compute GET requests

Remove usage of priority metrics from SEARCH service.

acid-ant pushed to feat/get-prioritization at acid-ant/frostfs-node 2024-10-21 08:45:21 +00:00
8c4df77878 [#1439] object: Sort nodes by priority metrics to compute GET request
acid-ant pushed to feat/get-prioritization at acid-ant/frostfs-node 2024-10-21 06:02:51 +00:00
1de4a7d5fe [#1439] object: Sort nodes by priority metrics to compute GET/SEARCH requests
ed13387c0e [#1438] .docker: Use go1.23 for builders
5afea62ec0 [#1438] debian: Remove package scripts
Compare 3 commits »
acid-ant pushed to feat/get-prioritization at acid-ant/frostfs-node 2024-10-18 14:04:18 +00:00
78e4d71cc0 [#1439] object: Sort nodes by priority metrics to compute GET/SEARCH requests
acid-ant created pull request TrueCloudLab/frostfs-node#1439 2024-10-18 13:58:08 +00:00
WIP: object: Sort nodes by priority metrics to compute GET/SEARCH requests