{"id":20358168,"url":"https://github.com/irods/irods_resource_plugin_weighted_passthru","last_synced_at":"2025-08-22T13:19:07.572Z","repository":{"id":29617617,"uuid":"33158167","full_name":"irods/irods_resource_plugin_weighted_passthru","owner":"irods","description":"Weighted Passthru resource plugin for iRODS","archived":false,"fork":false,"pushed_at":"2015-04-01T14:57:37.000Z","size":106,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-01-15T01:42:34.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irods.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-31T01:38:08.000Z","updated_at":"2015-04-01T14:57:37.000Z","dependencies_parsed_at":"2022-09-20T22:56:05.580Z","dependency_job_id":null,"html_url":"https://github.com/irods/irods_resource_plugin_weighted_passthru","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irods%2Firods_resource_plugin_weighted_passthru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irods%2Firods_resource_plugin_weighted_passthru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irods%2Firods_resource_plugin_weighted_passthru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irods%2Firods_resource_plugin_weighted_passthru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irods","download_url":"https://codeload.github.com/irods/irods_resource_plugin_weighted_passthru/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241895344,"owners_count":20038512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:25:38.572Z","updated_at":"2025-03-04T17:48:09.385Z","avatar_url":"https://github.com/irods.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"iRODS Weighted Passthru Resource Plugin\n---------------------------------------\n\nTo build the Weighted Passthru Resource Plugin, you will need to have:\n\n - the iRODS Development Tools (irods-dev and irods-runtime) installed for your platform\n     http://irods.org/download\n\nThen to build this resource plugin:\n\n  ./packaging/build.sh\n\n\nTo use this resource plugin:\n\n  irods@hostname $ iadmin mkresc replResc replication\n  irods@hostname $ iadmin mkresc weightedPTResc weighted_passthru \"read=0.25;write=1.0\"\n  irods@hostname $ iadmin mkresc aChildResc unixfilesystem \u003chostname\u003e:/full/path/to/Vault1\n  irods@hostname $ iadmin mkresc writeOnlyResc unixfilesystem \u003chostname\u003e:/full/path/to/Vault2\n  irods@hostname $ iadmin addchildtoresc replResc aChildResc\n  irods@hostname $ iadmin addchildtoresc replResc writeOnlyResc\n  irods@hostname $ iadmin addchildtoresc weightedPTResc writeOnlyResc\n  irods@hostname $ iput -R replResc foo.txt\n\n\nThe contextString above (\"read=0.25;write=1.0\") when creating weightedPTResc\ncontains a set of multipliers that affect the votes of its children.  During\na read, the weightedPTResc will multiply its child's vote by 0.25, rendering\nit nearly always a last resort.  On a write, the 1.0 multiplier will have no\neffect on the selection of which resources are eligible for accepting the replica.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firods%2Firods_resource_plugin_weighted_passthru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firods%2Firods_resource_plugin_weighted_passthru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firods%2Firods_resource_plugin_weighted_passthru/lists"}