File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1827,6 +1827,24 @@ message TEvRead {
1827
1827
// Limits total number of rows which iterator can read.
1828
1828
optional uint64 TotalRowsLimit = 12 ;
1829
1829
1830
+ enum EHint {
1831
+ // No hits. This is the default.
1832
+ HINT_NONE = 0 ;
1833
+
1834
+ // This hint should be specified for batch queries. DataShard will
1835
+ // attempt to run this query as a scan when possible, minimizing
1836
+ // effects on concurrent OLTP queries.
1837
+ HINT_BATCH = 1 ;
1838
+
1839
+ // This hint should be specified for low priority queries. DataShard
1840
+ // will attempt to use low-priority reads when possible, minimizing
1841
+ // effects on concurrent OLTP queries.
1842
+ HINT_LOW_PRIORITY = 2 ;
1843
+ }
1844
+
1845
+ // Optional bit flags with hints
1846
+ optional uint32 Hints = 13 ;
1847
+
1830
1848
// Request must contain either keys, queries or program
1831
1849
// mixed requests are not supported
1832
1850
You can’t perform that action at this time.
0 commit comments