Uploaded image for project: 'onedata'
  1. onedata
  2. VFS-12743

Investigate a potential race in GS

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 21.02.9
    • None
    • None
    • None
    • Sprint 277: Naughty NaN, Sprint 278: ObligatoryOlympics, Sprint 279: Paranoid Process, Sprint 280: Ridiculous Regex, Sprint 281: Quirky Qń, Sprint 282: Silly Stacktrace, Sprint 283: Trusty Tomaš
    • 5

      UPDATE: maybe this is a problem of od_space:update_cache??? Talko to plgmstanisz

      Sometimes, in a gui acc src test with 2 providers and a space with 2 supports, krakow says there's only one support. Even after 70 seconds from the test setup.

      3:39:02 Logs says that both providers have supported the space.

      3:39:38 WS logs in GUI say that Onezone responds with 2 elements on effProviders list.

      3:40:11 WS logs in GUI say that krakow responds with one element on providerList.

      3:40:11 The same for the "distribution" aspect, only one provider

      Possibly there's a race on GraphSync. Maybe add an env to turn on verbose GS logs in providers (what pushes are received, what is cached, in what revision) and maybe also logs in Onezone what pushes are generated.

      --------
      29.05.2025

      28-May-2025 02:04:59 – Executing step: there are no spaces supported by oneprovider-1 in Onepanel
      28-May-2025 02:04:59 – Executing step: using REST, user1 creates space named "helloworld" with test alias "A" in "onezone" Onezone service
      28-May-2025 02:04:59 – Executing step: using REST, user1 generates space support token for space with test alias "A" in "onezone" Onezone service and sends it to onepanel
      28-May-2025 02:04:59 – Executing step: using REST, onepanel supports space with test alias "A" in "oneprovider-1" Oneprovider panel service with following configuration: (...)
      28-May-2025 02:04:59 – Executing step: using REST, user1 creates space named "helloworld" with test alias "B" in "onezone" Onezone service
      28-May-2025 02:04:59 – Executing step: using REST, user1 generates space support token for space with test alias "B" in "onezone" Onezone service and sends it to onepanel
      28-May-2025 02:04:59 – Executing step: using REST, onepanel supports space with test alias "B" in "oneprovider-1" Oneprovider panel service with following configuration: (...)
      28-May-2025 02:04:59 – Executing step: using oneclient3, user1 creates file named "file1" in space with test alias "A" in oneprovider-1
      28-May-2025 02:04:59 – Executing step: using oneclient1, user1 writes "TEST AAA" to file named "file1" in space with test alias "A" in oneprovider-1
      28-May-2025 02:04:59 – Executing step: using oneclient1, user1 creates file named "file1" in space with test alias "B" in oneprovider-1
      28-May-2025 02:04:59 – Executing step: using oneclient3, user1 writes "TEST BBB" to file named "file1" in space with test alias "B" in oneprovider-1
      28-May-2025 02:04:59 — STEP FAILED on Then "using oneclient3, user1 writes "TEST BBB" to file named "file1" in space with test alias "B" in oneprovider-1"
      28-May-2025 02:04:59 — Exception:
      (ENOTSUP)

      looks like after the two supports, provider gets an update that it does not support one of the spaces

            plglopiola Łukasz Opioła
            plglopiola Łukasz Opioła
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: