Commit 57a7d03
committed
kvs: support fence-max-ops
Problem: The new transaction-max-ops configuration limits the number
of operations a user can submit in a KVS commit or fence. However,
this does not cap the total number of operations from a combined
fence, which could exceed the transaction-max-ops by a lot.
Support a new KVS configuration "fence-max-ops" that will reject
KVS fences with a combined number of options above a maximum. The
default maximum is 1048576.1 parent f77dd6b commit 57a7d03
2 files changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
192 | 194 | | |
193 | 195 | | |
194 | 196 | | |
| 197 | + | |
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
| |||
1927 | 1930 | | |
1928 | 1931 | | |
1929 | 1932 | | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
1930 | 1938 | | |
1931 | 1939 | | |
1932 | 1940 | | |
| |||
2053 | 2061 | | |
2054 | 2062 | | |
2055 | 2063 | | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
2056 | 2069 | | |
2057 | 2070 | | |
2058 | 2071 | | |
| |||
3140 | 3153 | | |
3141 | 3154 | | |
3142 | 3155 | | |
| 3156 | + | |
3143 | 3157 | | |
3144 | 3158 | | |
3145 | 3159 | | |
3146 | | - | |
| 3160 | + | |
3147 | 3161 | | |
3148 | | - | |
| 3162 | + | |
| 3163 | + | |
3149 | 3164 | | |
3150 | 3165 | | |
3151 | 3166 | | |
3152 | 3167 | | |
3153 | 3168 | | |
3154 | 3169 | | |
3155 | 3170 | | |
| 3171 | + | |
| 3172 | + | |
| 3173 | + | |
| 3174 | + | |
3156 | 3175 | | |
| 3176 | + | |
3157 | 3177 | | |
3158 | 3178 | | |
3159 | 3179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
0 commit comments