RPC: Demote missing block error to warning (#13685)
It frightens the tourists
(cherry picked from commit f2a1a0ac5c)
Co-authored-by: Trent Nelson <trent@solana.com>
			
			
This commit is contained in:
		@@ -171,7 +171,7 @@ impl JsonRpcRequestProcessor {
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
        r_bank_forks.get(slot).cloned().unwrap_or_else(|| {
 | 
			
		||||
            // We log an error instead of returning an error, because all known error cases
 | 
			
		||||
            // We log a warning instead of returning an error, because all known error cases
 | 
			
		||||
            // are due to known bugs that should be fixed instead.
 | 
			
		||||
            //
 | 
			
		||||
            // The slot may not be found as a result of a known bug in snapshot creation, where
 | 
			
		||||
@@ -182,7 +182,7 @@ impl JsonRpcRequestProcessor {
 | 
			
		||||
            // a slot.
 | 
			
		||||
            //
 | 
			
		||||
            // For more information, see https://github.com/solana-labs/solana/issues/11078
 | 
			
		||||
            error!(
 | 
			
		||||
            warn!(
 | 
			
		||||
                "Bank with {:?} not found at slot: {:?}",
 | 
			
		||||
                commitment_level, slot
 | 
			
		||||
            );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user