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

Examine problems with fun2ms in dir stats collector

XMLWordPrintable

      • Icon: Task Task
      • Resolution: Fixed
      • Icon: Minor Minor
      • 21.02.1
      • None
      • None
      • None
      • Sprint 232, Sprint 233

        [E 2023-03-15 15:32:05.919 <0.30141.0>] An unexpected exception occurred in dir_stats_collector:save_and_propagate_cached_dir_stats/3 line 885
        > Stacktrace:
        dir_stats_collector:flush_all/1 line 635
        lists:foldl/3 line 1267
        dir_stats_collector:'flush_all/1-fun-0'/2 line 636
        dir_stats_collector:flush_cached_dir_stats/3 line 660
        dir_stats_collector:save_and_propagate_cached_dir_stats/3 line 882
        dir_stats_collector:propagate_to_parent/3 line 1005
        dir_stats_collector:call_designated_node/3 line 1109
        erpc:call/5 line 121
        > Details: Dir stats collector save and propagate error for collection type: dir_update_time_stats and guid <<"Z3VpZCM4ZGMxOWU2MmY4ZjZhZmQxYWViOWZhMGE1ZDI5Y2NhMWNoM2UwYiNmOTE3MjBjM2VhZTBmYmQ1YWYxODRmNDYzZTFhMjA1MWNoYjczOQ">>:
        exit:{exception,{badarg,

        {ets,fun2ms, [function,called,with,real,'fun',should,be, transformed,with,parse_transform,'or',called, with,a,'fun',generated,in,the,shell]}

        }}

        according to this: https://stackoverflow.com/questions/6655064/erlang-function-called-with-real-fun-should-be-transformed-with-parse-transfo

        maybe it's a problem of passing the fun2ms expression in rpc call?

                  plgwrzeszcz Michał Wrzeszcz (Inactive)
                  plglopiola Łukasz Opioła
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Created:
                    Updated:
                    Resolved: