glusterfs
glusterfs copied to clipboard
Missed documentation about cluster.rsync-hash-regex format
What format has to be cluster.rsync-hash-regex partameter? perl, sed, etc? How to realize it is working properly? Nothing about it in docs.gluster.org... Any example (excluding "none" that is googled everywhere :) )
ps: since in my case rsync temp files look like ".name.ext.??????", I've set rsync-hash-regex as ".[a-zA-Z0-9-]+.[a-zA-Z0-9]+.[a-zA-Z0-9-_]{6}" and that passed without errors. But volume immediately had broken (mountpoint looks like a file with ????????? access mode, and errors in log:
2022-07-01 13:12:11.600174 +0000] E [MSGID: 101021] [graph.y:360:graphyyerror] 0-parser: syntax error: line 275 (volume 'distr-dht'): ".[a-zA-Z0-9"
allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume'()
[2022-07-01 14:31:12.159819 +0000] E [MSGID: 101021] [graph.y:360:graphyyerror] 0-parser: syntax error: line 65 (volume 'distr-dht'): "-]+"
allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume'()
[2022-07-01 14:31:12.159905 +0000] E [MSGID: 100026] [glusterfsd.c:2509:glusterfs_process_volfp] 0-: failed to construct the graph []
So, I think that there would be nice to have some validation and documentation...